Jump to content
xisto Community
vizskywalker

Php/mysql Function Problem

Recommended Posts

I am having a problem with some of the php/mysql functions. What I want to do is display the results that a MySQL shell would give a user when executing a query. Using the mysql_query() function I get a resource, but the mysql_fetch_row() and mysql_fetch_object() functions do not seem to be working. If requested, code can be provided, but what I'm looking for is more of an example on how to use these functions or other functions to display the output of a query. Thank you.~Viz

Share this post


Link to post
Share on other sites

I'll make it sweet and short...

Take a look at this page: http://forums.xisto.com/no_longer_exists/

It has straight out examples of how to fetch all databse names, table names, field names and row results using those commands... all sandwiched together - but you shouldn't have problem figuring out. very easy syntax..

Regards,
m^e

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

×
×
  • 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.