continue then like:

while ($r = mysql_fetch_array($result))
{
  echo "title=$title, body=$body";
}

-elias

""Johan Vikerskog (ECS)"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
> <?php
> /* Search for the criteria in $search
> */
>  mysql_connect('localhost', 'root', 'qwerty') ;
>  mysql_select_db('support') ;
>
>  $result = mysql_query ("SELECT * FROM records
>                        WHERE MATCH (title,body) AGAINST ('$search')");
>
>
>  ?>
>
>
> in this simple script....(not for me).
>
> What should i do to print out $result?
>
>
> //Johan
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to