Hi,
I'm having problem running my PHP script accessing MySQL database.
Error Message:
Warning: 0 is not MySQL result index in script1 on line 11
Code:
$data = mysql_query("select * from table1", $db1);
printf("%s<br>", mysql_result($data,0,"field1")); # line 11
Comment, suggestions and hints are appreciated. TIA.
--gene
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
- RE: [plug] getting the MAC address from linux Ronneil Camara
- [plug] [OT] Satellite Link Gene Ordanza II
- [plug] [OT] Satellite Link cyberspace
- Re: [plug] PHP/MySQL Question ... Philip G. Apostol
- Re: [plug] PHP/MySQL Question ... Gene Ordanza II
- Re: [plug] PHP/MySQL Question ... Philip G. Apostol
- [plug] webmin with ssl Ronald Warner
- [plug] user accounting Ronald Warner
