Re: solved [message #186114 is a reply to message #186101] |
Sat, 14 June 2014 20:01 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Fri, 13 Jun 2014 18:23:12 -0400, richard wrote:
>> It would still be mysqli complaining if you did this:
>> $dbh->mysqli ("three coins in a fountain, said Fred");
> Tim, I experiemented with that.
> Double quotes in the values() sends the data in the quotes as is. eg.
> values("$string") outputs $string as the data in that columnn.
> Not the value you assigned to $string.
That might be because to use double quotes inside the sql statement you
would have had to use single quotes at the php level, and php handles
strings quoted with single and double quotes differently.
--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
|
|
|