Re: a slight newbie question
| From: | elias | Date: | Fri, 18 May 2001 23:12:48 +0000 |
| Subject: | Re: a slight newbie question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53400@lists.php.net to get a copy of this message | ||
continue then like:
while ($r = mysql_fetch_array($result))
{
echo "title=$title, body=$body";
}
-elias
""Johan Vikerskog (ECS)"" <Johan.Vikerskog@ecs.ericsson.se> wrote in
message
news:A9D7A677B724D411A8B600204840355E03514FC2@eseldnt102.ld.sw.ericsson.se..
.
> <?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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>