Page 1 of 1

help, better method of retrieving data than fetch_array

Posted: Mon May 20, 2002 7:50 am
by pHaZed
Hi,
Im stuck at this point...
Im looking for a simpler way of retrieving data and setting it as a string.
eg:
I have a table with a row that has a filename in it (contact.php)
i want to retrieve that row and echo it in here
include("filename");

The reason mysql_fetch_array is out of the question is because i dont and cant use a loop for this.
Any help much appreciated

Re: help, better method of retrieving data than fetch_array

Posted: Mon May 20, 2002 9:27 am
by cwcollins
if the your result set is only one record, you can still use fetch_aray without looping.

-c.w.collins