php Programming Glossary: strsql
Select variable number of random records from MySQL http://stackoverflow.com/questions/558719/select-variable-number-of-random-records-from-mysql open the database GetDatabaseConnection 'dev' inefficient strSQL SELECT id FROM site_info WHERE major 0 ORDER BY RAND LIMIT ... BY RAND LIMIT . intNumberofSites. Not wonderfully random strSQL SELECT id FROM site_info WHERE major 0 AND id SELECT FLOOR COUNT.. from available pool of candidates Can I do this better strSQL SELECT id FROM site_info WHERE major 0 if is_numeric intNumberofSites..
How to create a new .MDB file with php? http://stackoverflow.com/questions/6512723/how-to-create-a-new-mdb-file-with-php result eof open Execute SQL Statement @param string strSQL sql statement @param boolean getrecordcount true when a record.. true when a record count is wanted function execute strSQL getrecordcount false this RS this ADODB execute strSQL this.. strSQL getrecordcount false this RS this ADODB execute strSQL this RecordsAffected if getrecordcount true this RS MoveFirst..
|