[thelist] PHP calling a function twice
David Bindel
dbindel at austin.rr.com
Mon Feb 3 09:08:01 CST 2003
> What would be the possible reasons why inserting this code
> into more than more page would cause problems displaing the results?
>
> $result=mysql("$DBName","SELECT * FROM Category ORDER BY Category");
^ ^ ^
mysql() is not a built-in PHP function, so I'm assuming it's a function
that you made yourself. Are you sure it's returning a recordset? If
you want more help with it, please send us the code for the mysql()
function.
HTH,
David Bindel
More information about the thelist
mailing list