RE: Storing returned string into variable in C

2001-11-13 Thread Quentin Bennett
Hi, Don't you mean strcpy(reseller_prompts, row[0]); not strcpy(row[0], reseller_prompts); Quentin -Original Message- From: Matthew Blacklow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 14 November 2001 1:30 p.m. To: [EMAIL PROTECTED] Subject: Storing returned string into variable

Storing returned string into variable in C

2001-11-13 Thread Matthew Blacklow
I am having trouble storing the result of a query into a variable when the query returns a string. Using phpmyadmin I test the query and it definitely works. So knowing that the problem does not lie in the query. My code contains several other queries all of which work, the only difference is that