ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:qstr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
v5:reference:connection:qstr [2016/04/21 01:08] mnewnhamv5:reference:connection:qstr [2018/07/16 19:38] – start functions lowercase peterdd
Line 3: Line 3:
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
-[[v5:reference:connection:addQ()]]\\+[[v5:reference:connection:addq|addQ()]]\\
 == Syntax == == Syntax ==
   string qStr(   string qStr(
Line 23: Line 23:
 $SQL = "SELECT * FROM names WHERE name='$string'"; $SQL = "SELECT * FROM names WHERE name='$string'";
  
-$result = $db->Execute($SQL);+$result = $db->execute($SQL);
  
 /* /*
Line 37: Line 37:
 $SQL = "SELECT * FROM names WHERE name=$qString"; $SQL = "SELECT * FROM names WHERE name=$qString";
  
-$result = $db->Execute($SQL);+$result = $db->execute($SQL);
  
 /* /*
- * Execution Succeeds+ * Execution succeeds
  */  */
 </code> </code>
  
v5/reference/connection/qstr.txt · Last modified: 2021/01/25 02:59 by mnewnham