Skip to main content

Home/ PHP Programming/ Group items tagged course

Rss Feed Group items tagged

sloansteddi

How to use PHP and PEAR MDB2 (Tutorial) | David and Katherine Goodwin - 0 views

    • sloansteddi
       
      Prepare takes the $sql (with '?'s where data will go), along with the TYPES (array) of data to prepare the sql for, and a 3rd paramater for manipulating or result-getting (see next paragraph). It assigns this to $prepared_statement. Another array is created with the data (in the same order as the types, of course), and the RESULT is aquired by running the execute() method on the $prepared_statement object, passing the execute method the "$data" array to fill in the '?'s After this do everything as normal.
  • column = ?
  • id = ?
  • ...1 more annotation...
  • I have a feeling that MDB2 lower cases all field names - so you'll probably need : echo $row['name'] A good idea would be to print_r($row) or similar, to see what's in it
  •  
    A great walk through on getting started with MDB2
hansel molly

Easy Access to Computer Support Professionals - 1 views

I have an online business and I use my computer all the time to monitor my sales and do my accounting, of course. Lately, I have been experiencing computer trouble and I cannot just let anyone fix ...

computer support

started by hansel molly on 08 Jul 11 no follow-up yet
1 - 3 of 3
Showing 20 items per page