what happens when you print an entire table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tolkienarda
    Contributor
    • Dec 2006
    • 316

    what happens when you print an entire table

    hi all

    i am trouble shooting somthing and i was curious what happens when i try to print the results from a mysql query
    example

    [PHP]
    $result = mysql_query("SE LECT bubbles, fairys FROM holes WHERE plants='$grow'" );

    echo $result;
    [/PHP]
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    That will just give you the OBJECT #n number. You will have to retrieve the results from this object in order to get to the selected rows of the table.

    Ronald :cool:

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      PHP.net will give you a lot of information, in particular, the return values and types of functions and classes.

      Comment

      • tolkienarda
        Contributor
        • Dec 2006
        • 316

        #4
        thanks

        eric

        Comment

        Working...