Re: PS Re: GUI designer in html [message #182470 is a reply to message #182462] |
Tue, 06 August 2013 01:35 |
Norman Peelman
Messages: 126 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 08/05/2013 10:51 AM, Twayne wrote:
> On 2013-08-04 8:59 PM, Norman Peelman wrote:
>> On 08/04/2013 01:09 PM, J.O. Aho wrote:
>>> On 04/08/13 18:47, Twayne wrote:
>>>> On 2013-08-04 2:32 AM, Lightee wrote:
>>>>
> \...
>
>>
>> That's only if you go out of your way to enable multiple statements
>> by using 'mysqli_multi_query()', which doesn't support prepared
>> statements. By default mysqli_query() and mysqli_real_query() do not
>> allow multiple queries separated by semi-colons.
>>
>> http://us2.php.net/manual/en/mysqli.quickstart.multiple-statement.php
>>
>>
>
> I have to wonder just how much you really know about PHP. Rather than
> point out a solution your only posts seem more like a criticism of any
> information; in fact, that's ALL you point out.
>
> Why not try to help posters by sharing information rather than be
> picky about something that hasn't even been mentioned yet.
>
>
I simply make note that *mysqli_multi_query()* is used to make
multiple queries in one call, *mysqli_query* and *mysqli_real_query()*
are not. I also note that *mysqli_multi_query()* with *prepared
statements* is not supported. In other words, you can't have them both.
I mentioned this because J.O. Aho brought up SQL injection...
--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
|
|
|