PHP database coding problem?

Ian

New member
I had a programmer develop this database a couple of months ago and now he has not been responsive to my emails. I know very basic PHP, and could really use some help from someone. The database can be found here:

http://adversitymarketing.com/leads/org.php

Email: [email protected]
Password: 5tickerlips

The errors I'm getting are:

When I hit "get count":
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pribyl88/public_html/AdversityMarketing/leads/count.php on line 30
records found.

Line 30 in count.php reads:

30 $row = mysql_fetch_array($result);
31 //$gq."<br>".$q."<br>".$sql."<br>".
32 echo("<b>".$row['count']."</b> records found.")


And when I submit the query:

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/pribyl88/public_html/AdversityMarketing/leads/org1.php on line 30
No data available for this CSV.

Line 30 in org1.php reads:

30 $numberFields = mysql_num_fields($sql); // Find out how many fields we are fetching


Any help or guidance would be greatly appreciated. If this is not a simple problem and I'm in over my head, you're welcome to let me know.

Thank you!
 
Back
Top