[PHP-DB] Error while inserting data into mysql

2011-03-01 Thread nagendra prasad
Hi All, I have 2 simple php pages. One with the form just like some sales voucher. Another is to print in a proper format and to insert the form database into mysql. When I enter some data in the sales voucher everything is going well, however when it comes to the second php for inserting data int

Re: [PHP-DB] Error while inserting data into mysql

2011-03-01 Thread Richard Quadling
On 1 March 2011 10:25, nagendra prasad wrote: > Hi All, > > I have 2 simple php pages. One with the form just like some sales voucher. > Another is to print in a proper format and to insert the form database into > mysql. When I enter some data in the sales voucher everything is going well, > howe

[PHP-DB] Re: Error while inserting data into mysql

2011-03-01 Thread nagendra prasad
Hi All, I have attached the table structure and the PHP code. Best, Guru. ===Database dream == Table structure for table dream |-- |Field|Type|Null|Default |-- |mwool40|varchar(100)|Yes|NULL |gwool25|varchar(100)|Yes|NULL |wmesh24|varchar(100)|Yes|NULL |shkote30|varchar(100)|Yes|NULL |s

[PHP-DB] Re: [PHP-WIN] Re: Error while inserting data into mysql

2011-03-01 Thread Richard Quadling
On 1 March 2011 10:59, nagendra prasad wrote: > Hi All, > > I have attached the table structure and the PHP code. > > Best, > Guru. > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Thank you for that. Can you tell me what column in t

[PHP-DB] Re: [PHP-WIN] Re: Error while inserting data into mysql

2011-03-01 Thread Richard Quadling
On 1 March 2011 10:59, nagendra prasad wrote: > Hi All, > > I have attached the table structure and the PHP code. > > Best, > Guru. > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > The scloth100 columns I can see are ... |scloth100_t

Re: [PHP-DB] Re: [PHP-WIN] Re: Error while inserting data into mysql

2011-03-01 Thread Geoff Lane
On Tuesday, March 1, 2011, Richard Quadling wrote; > Can you tell me what column in the table is scloth100_qty? I can't find it. The issue here is probably that you have some PHP code that is passing a SELECT statement to MySQL and that SELECT includes scloth100_qty in its column list. One debugg

Re: [PHP-DB] Re: [PHP-WIN] Re: Error while inserting data into mysql

2011-03-01 Thread nagendra prasad
Thanks Geoff Lane, I saw my mistake. Their was no scloth100_qty in my mysql table. Once again Thanks buddy :) On Tue, Mar 1, 2011 at 4:53 PM, Geoff Lane wrote: > On Tuesday, March 1, 2011, Richard Quadling wrote; > > > Can you tell me what column in the table is scloth100_qty? I can't find > it

[PHP-DB] Need help with an extra backslash

2011-03-01 Thread nagendra prasad
Hi All, I have a list of product in which WIRE MESH 24G X 3/4" is one of them. When I am trying to print the same its coming like WIRE MESH 24G X 3/4\". I want to remove the extra "\" backslash from the result page. Please help me with this. Best, Guru.

Re: [PHP-DB] Need help with an extra backslash

2011-03-01 Thread Design in Motion Webdesign
Try the stripslashes() function. See on http://php.net/manual/en/function.stripslashes.php for details. Best regards. Steven Hi All, I have a list of product in which WIRE MESH 24G X 3/4" is one of them. When I am trying to print the same its coming like WIRE MESH 24G X 3/4\". I want to re