What do you mean by "PHP submission"?
What do you mean by "PHP submission"?
Dynamic Software Development
www.activeminds.ca
PHP submission means I have a form named as check.php with the form created to select the birthdate and submit online to show the result.Originally Posted by edhan
Find Out More About Renting Thai Amulets For Blessing Of Protection in Well Being & Wealth | Destiny of Fate | Exploring, Understanding & Learning The Basic Feng Shui Art Of Placement To Build Wealth & Harmony With Friends, Colleagues And Family Members In Relationships & Careers... Do you want a better lifestyle? Check it out today!
OK - maybe it's just me, but are you SELECTing the $date1 from the database and then not able to get the $birthdate from that? If so, the reason might be that $year1, $month1 and $day1 are not assigned any values just because you got $date1 and reconstructed how it was created.
You probably need something like this
I hope this helps,Code:$db = @mysql_connect('localhost', 'dbuser', 'dbpass'); @mysql_select_db('dbname', $db); $result = mysql_query("SELECT * FROM `match` WHERE `person` = '$person'", $db); $row = mysql_fetch_assoc($result); $year1 = substr($row[date1],0,4); $month1 = substr($row[date1],4,2); $day1 = substr($row[date1],6,2); $birthdate1 = " (Birthdate: ".$month1." ".$day1.", ".$year1.") ";
Rob
Find Out More About Renting Thai Amulets For Blessing Of Protection in Well Being & Wealth | Destiny of Fate | Exploring, Understanding & Learning The Basic Feng Shui Art Of Placement To Build Wealth & Harmony With Friends, Colleagues And Family Members In Relationships & Careers... Do you want a better lifestyle? Check it out today!