Jump to content
xisto Community
Sign in to follow this  
VigneshViswanathan

Php doubt about php coding..

Recommended Posts

Hello guys..pls help me to start with php..i have written a code to retrieve data from my WAMP server's database and thereby to print a timetable..but i find some errors which is frustrating..pls help me out..tks..

 

Well, mysql_query will not give you numrows. The result of mysql_query will be a resource array. If you want to count the number of rows use

mysql_num_rows($result) instead. Here $result is the result of mysql_query(). Actually I didn't fully understand what you wanted to do. So please be specific next time, and post the errors you are gettting..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.