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 Quote Link to comment Share on other sites More sharing options...
programmerajay Posted July 8, 2008 Author Share Posted July 8, 2008 Please Anyone????????????? Quote Link to comment Share on other sites More sharing options...
fenway Posted July 9, 2008 Share Posted July 9, 2008 That's a prepared statement. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.