943,993 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 3312
  • PHP RSS
May 19th, 2006
0

PHP and MySql

Expand Post »
Hello

As I am new to PHP I would like to know that

I am facing problem connecting to the Database.

And not able to find the reason of not connecting.

I also want to know about the difference between

mysql_query, mysql_fetch_row, mysql_fetch_num


Ashwin Perti
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ashwinperti is offline Offline
22 posts
since Aug 2005
May 19th, 2006
0

Re: PHP and MySql

What problems are you having connecting to the db? Can you post your connection code and any error messages you receive.

mysql_query performs a query
mysql_fetch_row fetches a row of data from the array result of the query
mysql_fetch_num is shorthand for mysql_fetch_array($result, MYSQL_NUM) - it returns the result array with numeric keys
Reputation Points: 16
Solved Threads: 7
Junior Poster
Lafinboy is offline Offline
166 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Need Help Correcting These errors
Next Thread in PHP Forum Timeline: PHP cookie question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC