Posted by Shelly on 09/28/19 11:21
"Shelly" <sheldonlg.news@asap-consult.com> wrote in message
news:ydCdnXbU8-7Q3EXfRVn-gQ@comcast.com...
>
> "Shelly" <sheldonlg.news@asap-consult.com> wrote in message
> news:Xa6dnR9zVN973UXfRVn-1w@comcast.com...
>> More off the top of my head: Here is an example:
>>
>> $query = "select ";
>> if ($_POST('a') == a) $query . "$a set stuff with a comma at the end";
>
> This should have read:
> if ($_POST('a') == a) $query .= "$a set stuff with a comma at the end";
Rather: if ($_POST['a'] == a) $query .= "$a set stuff with a comma at the
end";
[Back to original message]
|