0

Hi
I cannot figure out the results when the code reaches at line 41 (while loop) . ! it throws an error.
displaying records of two different tables, want the solution but with the JOIN statement.
Thanks, and kindly look into the Attachment file as it contains jpg file.

Attachments 4.gif 6.47 KB 6.gif 26.3 KB
2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by khushhappy
0

Try running the query itself in mysql to see if there are any errors. you can also validate if there are no results returned or if query fails

if(!$result){
   //die
}

also, make sure the connection to the database is good.

0

@qazplm114477:
It did not passed any field value from the sql query.
Problem with the query.
now for the query

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.