User Tools

Site Tools


libraries:databaseconnector:databaseconnectorclass:sqlgetfirstpreparedline

Differences

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

Link to this comparison view

libraries:databaseconnector:databaseconnectorclass:sqlgetfirstpreparedline [2023/03/03 11:29] – created michael.pohllibraries:databaseconnector:databaseconnectorclass:sqlgetfirstpreparedline [2023/03/31 19:23] (current) michael.pohl
Line 7: Line 7:
  
 <code php> <code php>
-Array SqlGetFirstPreparedLine ( /* ... */ )+Array SqlGetFirstPreparedLine ( [$ParameterArray = NULL] )
 </code> </code>
  
 ===== Parameters ===== ===== Parameters =====
  
-   Any number of parameters which should replace the '?' placeholders in the prepared statement+   **$ParameterArray** //Array (optional)// \\ One dimensional array with values to replace the ''?'' placeholders or key-value pairs to replace the '':name'' placeholders
  
 ===== Returns ===== ===== Returns =====
Line 33: Line 33:
  
 // Requesting user data line by line // Requesting user data line by line
-$Row = $DB->SqlGetFirstPreparedLine(1970, 2010);+$Row = $DB->SqlGetFirstPreparedLine( array(1970, 2010);
  
 if ($Row !== FALSE && $Row !== NULL) if ($Row !== FALSE && $Row !== NULL)
libraries/databaseconnector/databaseconnectorclass/sqlgetfirstpreparedline.txt · Last modified: 2023/03/31 19:23 by michael.pohl