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.

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.