|
|
|
|
![]() ![]() |
Jun 30 2005, 05:48 PM
Post
#1
|
|
|
Techno-Necromancer Group: Members Posts: 1,018 Joined: 13-January 05 From: The Net Member No.: 2,127 |
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 |
|
|
|
Jun 30 2005, 06:13 PM
Post
#2
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 |
I'll make it sweet and short...
Take a look at this page: http://www.comptechdoc.org/independent/web...phpmysqlex.html 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 |
|
|
|
Jun 30 2005, 06:37 PM
Post
#3
|
|
|
Techno-Necromancer Group: Members Posts: 1,018 Joined: 13-January 05 From: The Net Member No.: 2,127 |
Thanks, although that didn't have the solution, it led me to the solution. I need to have a user for the server, accessing anonymously was the problem.
~Viz |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 6th September 2008 - 05:27 PM |