[plug] PHP Problem

Chris Darby chris at mnet.com.au
Fri Aug 18 11:14:10 WST 2000


im wondering if anyone can help me, im querying a MySQL database using PHP,
if there is no data in the database i get the following message

Warning: 0 is not a MySQL result index in modules/services/specials.i on
line 6

how do i create a variable with a zero value and stop this message from
comming up in future.

Ive done it before but i cant remember how i did it,

Can anyone help

Chris Darby




More information about the plug mailing list