im trying to concatinate my birthdate dropdown MM,DD,YY in Textbox..
it wont save, please help me with my code....

<p class="studmen">Birthdate<input name="bdate" type="text"  value="<?php echo $bday=$mm.$dd.$yy;?>"/>
						<select name="<?php $mm;?>">
						<option value=""></option>
                        <option>Jan</option>
						</select>
						<select name="<?php $dd;?>" >
						<option value=""></option>
                        <option>1</option>
						</select>
						<select name="<?php $yy;?>">
						<option value="" ></option>
                        <option>1990</option>
Member Avatar for diafol

I can't see how this is supposed to work. You need to send the data from the dropdowns before the input will display it. Alternatively, you could use js (jQuery makes it easy).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.