Hi all, i have a DOB input that I am trying to output to a textfield called "StarSign"
The DOB works great, uploads to the database fine, What I would like to do is from the given DOB - Output the StarSign to a textfield called starsign.
i have dob_y dob_m & dob_d - On selection of the dob_d I wish the correct starsign to automatically populate.
I am working on creating the script for the starsign, but im not sure how to populate the textfield ??
Any help \ pointers on this would be great as a learning curve,
<?php
if ($dob_m == 4 && $dob_d > 20 || $dob_m == 5 && $dob_d < 21) strcpy(echo $ssign,"taurus");
else if (month == 5 && day > 20 || month == 6 && day < 21) strcpy(sign,"gemini");
?>