|
Posted by Jerry Stuckle on 11/19/50 11:47
guitarromantic@gmail.com wrote:
> Jerry Stuckle wrote:
>
>>As I said - untested and not guaranteed. And I don't guarantee its valid. But
>>the problem is there should be another single quote after the last right square
>>bracket.
>
>
> Sorry, I don't mean to sound like I expect everything to work 100%.
> That said, adding the missing ' didn't change the error message.
>
Well, I never was good at matching quotes and parens. And I shouldn't have
tried to get fancy. The following should work:
$insert .= "($id, " . $value['author'] . ', ' .
$value['score'] . ", '" . $value['review'] . "')";
And BTW you'll need a double quote (") before the semicolon on the $query= line.
Sorry.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|