PHP mysql_fetch_array() error

error , php , mysql , mysql_fetch_array Reims, France
  • 11 years ago

    Hi guys,

    this is my code to retrieve data from a database check for some details and display on the page.

    I get the following errors. Warning: mysqlfetcharray(): supplied argument is not a valid MySQL result resource in /home/dpme6168/public_html/sn/view.php on line 42

    Warning: mysqlnumfields(): supplied argument is not a valid MySQL result resource in /home/dpme6168/public_html/sn/view.php on line 81

    Warning: mysqlnumrows(): supplied argument is not a valid MySQL result resource in /home/dpme6168/public_html/sn/view.php on line 82

    Warning: mysqlfetcharray(): supplied argument is not a valid MySQL result resource in /home/dpme6168/public_html/sn/view.php on line 88

    I just can't figure out whats wrong in the code. Below is the entire code for the page.

    Outstanding Installments
  • 11 years ago

    this is just wierd. but the rest of my post doesnt appear.

    I have uploaded my php file to the below link. I posted it above but for some reason doesnt appear.

    http://rapidshare.com/files/257165796/view.php.html

    please help me

  • 11 years ago

    this is just wierd. but the rest of my post doesnt appear.

    I have uploaded my php file to the below link. I posted it above but for some reason doesnt appear.

    http://rapidshare.com/files/257165796/view.php.html

    please help me

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It works on my machine.” - Anonymous