This topic is locked

Events, save new data in another table

6/30/2010 10:49:27 AM
PHPRunner General questions
P
pidejean author

Dear all,
I have two tables :

Matable1 with champ1 and champ2 as field (Varchar)

Matable2 with champ11 and champ22 as field (Varchar)
On my add page of Matable1, I would like to save the new data in Matable2 using Events actions.
My problem: only numbers (Integer) can be save in Matable2 when I am adding new values. I got 256 error message when I am adding
data in text (Varchar).
I am using PHPrunner 5.2, PHP 5.3.1, MySQL 5.1.41
Please help me,
Pedro

B
bangke 6/30/2010



Dear all,
I have two tables :

Matable1 with champ1 and champ2 as field (Varchar)

Matable2 with champ11 and champ22 as field (Varchar)
On my add page of Matable1, I would like to save the new data in Matable2 using Events actions.
My problem: only numbers (Integer) can be save in Matable2 when I am adding new values. I got 256 error message when I am adding
data in text (Varchar).
I am using PHPrunner 5.2, PHP 5.3.1, MySQL 5.1.41
Please help me,
Pedro



read this post:

http://www.asprunner.com/forums/topic/14394-update-data-in-master-table/