I have a statement being used with PDO which is as follows: $stmt = _DB::init()->prepare(\"SELECT a.*
I have a PDO prepared statement which looks like this: $STH = $DBH->(\"CREATE TABLE :prefixbase (table_structure)\");
I was wondering if there is a way to do the following which does not throw me an error. Would someone be able to explain why the following is not possible, and how I can pull it off?
I use kohana and i have this model to retrieve search results from database using PDO: class Model_Crud extends Model_Database {
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
I have written a Zend Framework based cron service for parallel tasks based on these two blog articles:
If i would like to create an ajax search (user fills in form elements, upon any update to the form elements, the search results are updated live.)
All, I have some PHP PDO code that looks like this: <?php ... $query=$dbh->prepare(\"SELECT LAST_INSERT_ID()\");
This question already has answers here: Why does this PDO statement silently fail? (2 answers) Closed 3 years ago.
I am trying to use jQuery-AJAX to submit the data in my form to my controller (index.php) where it is processed by PHP and inserted via PDO into the database if valid. Once the code is inserted into t