VVM Ravikumar Sarma Chengalvala writes:
> Hi Sinisa,
>
> Thanks for spending the time.Here are few observations
> on mysql_escape_string().I have checked it up and
> found to be working but with the following problems.
> i)
> It works well when I want to insert strings like:
> "'xyz" or "x'yz".
>
Hi Sinisa,
Thanks for spending the time.Here are few observations
on mysql_escape_string().I have checked it up and
found to be working but with the following problems.
i)
It works well when I want to insert strings like:
"'xyz" or "x'yz".
ii)
When I use "x\yz" with the function I see a junk
char
VVM Ravikumar Sarma Chengalvala writes:
> Hi Sinisa,
> Thanks for the detailed mail.Can you send me the
> syntax for mysql_escape_string() please so that I can
> check up with what I have been trying out.
>
> Regards,
> Ravi
Here is an example from C++ :
char* s = new char[in.size()*2+1
Hi Sinisa,
Thanks for the detailed mail.Can you send me the
syntax for mysql_escape_string() please so that I can
check up with what I have been trying out.
Regards,
Ravi
--- Sinisa Milivojevic <[EMAIL PROTECTED]> wrote: > VVM
Ravikumar Sarma Chengalvala writes:
> > Sinisa,
> > 1.
> > Thanks for
VVM Ravikumar Sarma Chengalvala writes:
> Sinisa,
> 1.
> Thanks for the mail.
> 2.
> I observed that mysql_escape_string()soes not work
> either.If I want to store a file name with back
> slashes,I feel mysql_escape_string() should introduce
> the additional backslash required .But it does not do
Sinisa,
1.
Thanks for the mail.
2.
I observed that mysql_escape_string()soes not work
either.If I want to store a file name with back
slashes,I feel mysql_escape_string() should introduce
the additional backslash required .But it does not do
so.It is just copying from source string to
destination
VVM Ravikumar Sarma Chengalvala writes:
> Hi,
> 1.
> I am using MySQL3.23 on WindowsNT4.0 platform.
> 2.
> Whenever I try to use mysql_real_escape_string()
> method,it works well with the compiler and fails while
> linking.I am using VC++6.0 as environment .The reason
> that I have traced out is:
Hi,
1.
I am using MySQL3.23 on WindowsNT4.0 platform.
2.
Whenever I try to use mysql_real_escape_string()
method,it works well with the compiler and fails while
linking.I am using VC++6.0 as environment .The reason
that I have traced out is:
i)
The function mysql_real_escape_string() is not coming