Astahost.com   Mar 22, 2010
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

Php/mysql Function Problem

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

Php/mysql Function Problem

vizskywalker
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
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

Comment/Reply (w/o sign-up)

vizskywalker
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)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Phpmysql Function

  1. 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...
  2. Range Function - (9)



Looking for php, mysql, function, problem



See Also,

*SIMILAR VIDEOS*
Searching Video's for php, mysql, function, problem
advertisement




Php/mysql Function Problem

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com



Creative Commons License