Jump to content

where('idtest = ?', $_POST["testKey"]);


programmerajay

Recommended Posts

i m new to Php and Mysql, i m on to a website written in Php/ Mysql

 

i was seeing the Php scripts when i found he used one statement where the query looked like: ::

 

 

if(!$_POST["delete"]) {

 

// determine if sectionName was previously uploaded

$select = $db->select();

$select ->from('test', 'idtest')

//->where( 'idquestion = ?', $key)

->where( 'idtest = ?', $_POST["testKey"]); / / / / / /What is This, i mean what does the syntax mean. ::)

$result = $db->fetchOne($select);

 

Please clarify as i am just a beginner ;D

Link to comment
https://forums.phpfreaks.com/topic/113711-whereidtest-_posttestkey/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.