|
Posted by Kirsten on 09/16/05 14:27
Hi,
i'm not sure what really your problem.
You need a for or while to walk thru your result set.
Your result could be produced like this for example:
========================================
$first = true;
while($row = mysql_fetch_row($result)){
if($first){
$string = $row[0];
$first = false;
} else {
$string .= strstr($row[0], 'this is the');
}
}
echo $string;
=========================================
This is not been tested, and it is only one way to get the result, my
be there also better way's, but for prompt scripting thats my solution.
-Kirsten
Navigation:
[Reply to this message]
|