Jump to content

Basic db calls with php


Recommended Posts

EDIT- SOLVED THANKS FOR ALL THE HELPI am trying to do some basic db calls through php but I don't know how, how do I get this to format out, like how do I get a basic function call to atleast display then I can start working onlearning how to get it formatted looking nicer.http://www.betterloans.com/ratesheet.php?P...fc83c22e66f2435

Link to comment
Share on other sites

The problem is that results from a database in PHP are returned not as text but at a 'resource', a block of data representing the results you've recieved. To get the information out of it you need to use PHP's mysql functions, like mysql_num_rows() and mysql_fetch_array() and such. They're documented on PHP's website. :)

Link to comment
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
×
×
  • Create New...