DBookatay Posted January 27, 2007 Share Posted January 27, 2007 What is wrong with this code?[code]$ap_ss = ($_POST['ap_ss1']) . ($_POST['ap_ss2']) . ($_POST['ap_ss3']);[/code]I'm trying to combine 3 (Social Security Number) input boxes into my dB, but it keeps coming up blank... POST 1 = 123 POST 2 = 45 POST 3 = 6789How do I make it become "123456789"? Quote Link to comment https://forums.phpfreaks.com/topic/35912-solved-combining-form-fields/ Share on other sites More sharing options...
HuggieBear Posted January 27, 2007 Share Posted January 27, 2007 Lose the parenthesis...[code]<?php$ap_ss = $_POST['ap_ss1'] . $_POST['ap_ss2'] . $_POST['ap_ss3'];?>[/code]RegardsHuggie Quote Link to comment https://forums.phpfreaks.com/topic/35912-solved-combining-form-fields/#findComment-170278 Share on other sites More sharing options...
DBookatay Posted January 27, 2007 Author Share Posted January 27, 2007 [quote author=HuggieBear link=topic=124249.msg514523#msg514523 date=1169863605]Lose the parenthesis...[code]<?php$ap_ss = $_POST['ap_ss1'] . $_POST['ap_ss2'] . $_POST['ap_ss3'];?>[/code]RegardsHuggie[/quote]Thank you, that solved it... Quote Link to comment https://forums.phpfreaks.com/topic/35912-solved-combining-form-fields/#findComment-170283 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.