VERY URGENT

admin

Administrator
Staff member
Hi ! I am developing an application using PHP and Mysql . I am having few problem so i m stuck at this point.

1 - I pick the rows from the DB to update them. I display these rows in a form. This form also contains a Select List with the option to select multiple options. How can I get a value in the list highlighted automatically based on the rows retrieved from the database. Please remember that I am using this select list as an array in the form . so i need to highlight the multiple options as well.
<select name=offerType[] multiple size=3>
2: I want to have some basic user validation for my form data so that it shud check that user entered some data into the mandatory fields & they should not be left blank.

3: I want to check if user selected a value 'Other' in the select list then a text box should be enabled after this..otherwise if user does't select 'Other' from the select list , the text boy should be disabled.


I shall really appreciate your quick reply as i really need these solutions

thanks

Hammad
 
Back
Top