vizskywalker
Jun 30 2005, 05:48 PM
| | 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 |
Comment/Reply (w/o sign-up)
miCRoSCoPiC^eaRthLinG
Jun 30 2005, 06:13 PM
I'll make it sweet and short...
Take a look at this page:
http://www.comptechdoc.org/independent/web...phpmysqlex.htmlIt 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
Comment/Reply (w/o sign-up)
vizskywalker
Jun 30 2005, 06:37 PM
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
Comment/Reply (w/o sign-up)
Similar Topics
Keywords :
Phpmysql Function- Using The Php Mail() Function For Images Or Attachments
- Can't find a decent tutorial! (7)
I read the one mail() tutorial that was posted in the tutorial section and to my horror found that
he had quoted almost verbatim from the PHP Manual off php.net, and made a comment about it, and also
found that if you were new to PHP or the Manual that it was informative but not indepth enough for
my tastes. This is not a tutorial although with the code that will be posted it might look like
one, that is not its intent or purpose. I have searched and found many so called tutorials about
MIME mail and boundries and all that but basically it either told me to use PHPMai...
Range Function
- (9)
Looking for php, mysql, function, problem