Jim Lucas wrote:
> Jay Moore wrote:
>> Shawn McKenzie wrote:
>>> Jay Moore wrote:
Jim Lucas wrote:
> Jay Moore wrote:
>> Greetings list.
>>
>> Say I have a function that escapes a string before being passed to
>> MySQL
>> like so:
>>
>> function escape($id, &$st
Jay Moore wrote:
> Shawn McKenzie wrote:
>> Jay Moore wrote:
>>> Jim Lucas wrote:
Jay Moore wrote:
> Greetings list.
>
> Say I have a function that escapes a string before being passed to
> MySQL
> like so:
>
> function escape($id, &$string)
> {
> $strin
Shawn McKenzie wrote:
Jay Moore wrote:
Jim Lucas wrote:
Jay Moore wrote:
Greetings list.
Say I have a function that escapes a string before being passed to MySQL
like so:
function escape($id, &$string)
{
$string }
Use an array as an alternate method of sending/returning data to the
seco
Jay Moore wrote:
> Jim Lucas wrote:
>> Jay Moore wrote:
>>> Greetings list.
>>>
>>> Say I have a function that escapes a string before being passed to MySQL
>>> like so:
>>>
>>> function escape($id, &$string)
>>> {
>>> $string }
>>
>> Use an array as an alternate method of sending/returning dat
Jim Lucas wrote:
Jay Moore wrote:
Greetings list.
Say I have a function that escapes a string before being passed to MySQL
like so:
function escape($id, &$string)
{
$string
}
Use an array as an alternate method of sending/returning data to the second
argument.
function escape($id, &$d
Ashley Sheridan wrote:
On Wed, 2009-02-04 at 14:02 -0600, Jay Moore wrote:
Greetings list.
Say I have a function that escapes a string before being passed to MySQL
like so:
function escape($id, &$string)
{
$string = mysql_real_escape_string($string, $id);
}
I'm passing $string as a
Jay Moore wrote:
> Greetings list.
>
> Say I have a function that escapes a string before being passed to MySQL
> like so:
>
> function escape($id, &$string)
> {
> $string
> }
Use an array as an alternate method of sending/returning data to the second
argument.
function escape($id, &$data
On Wed, 2009-02-04 at 14:02 -0600, Jay Moore wrote:
> Greetings list.
>
> Say I have a function that escapes a string before being passed to MySQL
> like so:
>
> function escape($id, &$string)
> {
> $string = mysql_real_escape_string($string, $id);
> }
>
> I'm passing $string as a referen
Greetings list.
Say I have a function that escapes a string before being passed to MySQL
like so:
function escape($id, &$string)
{
$string = mysql_real_escape_string($string, $id);
}
I'm passing $string as a reference so I don't have to reassign it like so:
$foo = escape($id, $foo);
9 matches
Mail list logo