Hi,
Instead of working with the strmov function use pointers to work on it, like I had to
Ex:
char myQuery[1024]="";
CurrentAddress = myQuery;
CurrentAddress+= mysql_real_escape_string( &MysqlStruct,CurrentAddress, string,
strlen(string) );
Best of Luck,
S.K. Singh.
- Original M
m occurs when mydata contains a single quote, then that single quote is
taken as the end of the column value by the MySQL parser and the data after the quote
is ignored resulting in an error.
Help is urgently required.
Thanks in advance.
Hi,
Can somebody help me, with changing the default delimiters of MySQL. For Example I
want to change the single quotes that enclose a string in an INSERT statement to #.
How can it be done.
Thanks in advance.
Shambhu kumar Singh.
_
Chat
Make sure you have installed the MySql-shared package
At the command prompt type
gcc -lmysqlclient -I/usr/include/mysql file.c
where file.c will be file that contains the C APIs
Best Of Luck
Shambhu.
_
Chat with your friends as soon as t
Hi,
Can anyboby help me out. I am in a fix over how to carry out CREATE TABLE using C
APIs. The manual is of no help in this matter.
So anybody I please help me out.
Thanks in advance.
Shambhu.
_
Chat with your friends as soon as they come
Hi John,
I had faced a similar problem earlier, I solved it my instaling MySQL-devel package
and include the libmyclient library stored in /usr/lib (not in /usr/lib/mysql/)in the
compile command.
Best of Luck,
Shambhu.
- Original Message --
john1 <[EMAIL PROTECTED]> wr