On Thu, Jan 16, 2003 at 01:54:14PM +0200, Gelu Gogancea wrote:
>>>If i understand well you wish to concatenate different strings.
>>>Are many options but the most handy solution is if you use "sprintf".
Thanks I got the answer.
sprintf(QueryStr,"INSERT INTO %s VALUES ('%s', '%s', '%s', '%s')",
table-name, value1, value2, value3, value4);
Regards
--
.''`. Dileep M. Kumar <[EMAIL PROTECTED]>
: :' : http://www.kumarayil.net
`. `'`
`- Debian GNU/Linux - Choice of the Freedom Lovers
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php