programmerajay Posted July 8, 2008 Share Posted July 8, 2008 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 Link to comment https://forums.phpfreaks.com/topic/113711-whereidtest-_posttestkey/ Share on other sites More sharing options...
programmerajay Posted July 8, 2008 Author Share Posted July 8, 2008 Please Anyone????????????? Link to comment https://forums.phpfreaks.com/topic/113711-whereidtest-_posttestkey/#findComment-584344 Share on other sites More sharing options...
fenway Posted July 9, 2008 Share Posted July 9, 2008 That's a prepared statement. Link to comment https://forums.phpfreaks.com/topic/113711-whereidtest-_posttestkey/#findComment-585406 Share on other sites More sharing options...
olie122333 Posted July 9, 2008 Share Posted July 9, 2008 if(!$_POST["delete"]) { That is used to check if the forum has been submited, if it has then do the following code. Link to comment https://forums.phpfreaks.com/topic/113711-whereidtest-_posttestkey/#findComment-585690 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.