Cannot get simple PDO based SQL query going on mysql
HI all,
Look at this simple piece of program
http://pastebin.com/745901
I have run the mysql database I use in log mode to show
you the resulting queries.
$this in the example is an object containing a link to the
mysql database.
What is wrong with this ? Why doesn't the execute insert the
XX into the query (as is shown in the mysql log) ?
.
Relevant Pages
- PHP strange error with MY_SQL database
... I have a MySQL database and I'm able to access it correctly. ... able to execute select, update and insert queries, however I am getting ... set returned is empty (for queries other than select). ... my die function includes the query but the query is not ... (comp.lang.php) - Re: PHP strange error with MY_SQL database
... > I have a MySQL database and I'm able to access it correctly. ... > able to execute select, update and insert queries, however I am getting ... > set returned is empty (for queries other than select). ... my die function includes the query but the query is not ... (comp.lang.php) - Microsoft Query - reference to subquery alias
... I'm having problems creating queries to MySQL database with MS Query. ... AS hourssum FROM job GROUP BY ... (microsoft.public.excel.programming) - Re: function does not return
... Some servers will put slashes on returning data, ... The exception to this is if you called addslashes() before you inserted the data in the MySQL database. ... The ifstatement probably made sense years ago, before the query was assigned the line before. ... (alt.php) - Re: How do mysql_fetch_assoc/mysql_query work?
... When I submit a query using PHP I ... at least the data I want) in an array. ... I submit a query to a MySQL database it goes away, ... What language are you using? ... (comp.lang.php) |
|