C
|
cgphp 10/31/2011 |
Check this article: http://xlinesoft.com/phprunner/docs/add_custom_field_to_form.htm |
S
|
stiven author 11/1/2011 |
hello, |
C
|
cgphp 11/1/2011 |
Post the code of:
|
![]() |
Sergey Kornilov admin 11/1/2011 |
If you need more help with this post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. |
S
|
stiven author 11/1/2011 |
ok this is what i have on the htm page..
|
C
|
cgphp 11/1/2011 |
The error is in the HTML code. The right code for the INPUT field is: <INPUT style="WIDTH: 260px; HEIGHT: 19px" id=plb2 size=39> |
S
|
stiven author 11/1/2011 |
that didn't work either :/.. i have a table for passengers.. i want to have fields for 5 passengers the data i need to get from them is the name, departure date, returning date, age, and route.. the thing is that i need for up to five and most of the time it is only one or none at all so the values would be null and it is just a waist having passenger_name1, passenger_name2 and so on... so what i wanted to do is have just passenger_name and separate them by commas and the other 4 fields add them manually on the edit page.. but this is not working so my question is do you have any suggestions on how would be the best way to achieve this? i would really appreciate it.. thanks. |
C
|
cgphp 11/1/2011 |
The query is buggy. Try this: $strSQLUpdate = "UPDATE service_box SET pallbearer = '".$pbl."' WHERE case_no = '".$values['case_no']."'"; |
S
|
stiven author 11/1/2011 |
The query is buggy. Try this: $strSQLUpdate = "UPDATE service_box SET pallbearer = '".$pbl."' WHERE case_no = '".$values['case_no']."'";
|
C
|
cgphp 11/1/2011 |
The id value of the input field is plb2 but in the query you access the $_REQUEST array with the key pbl2 |
S
|
stiven author 11/1/2011 |
OMG spelling error didn't even notice it..! thank you so much!!! it's working now... |