le007 Posted October 16, 2007 Share Posted October 16, 2007 <input type="hidden" name="bedrooms" value="1"> My db fieldname is bedrooms and I have the sql set up correctly - for some reason though, bedrooms value is still going through (uploaded) as 0??? ANY ideas? Quote Link to comment https://forums.phpfreaks.com/topic/73557-solved-send-hidden-value/ Share on other sites More sharing options...
BlueSkyIS Posted October 16, 2007 Share Posted October 16, 2007 what does the PHP code look like? Quote Link to comment https://forums.phpfreaks.com/topic/73557-solved-send-hidden-value/#findComment-371126 Share on other sites More sharing options...
charliemexican Posted October 16, 2007 Share Posted October 16, 2007 maybe you are assigning $bedrooms variable to your SQL query, then the problem would be to replace that variable with $_POST['bedrooms'] or something like that (according to the method you are using) Quote Link to comment https://forums.phpfreaks.com/topic/73557-solved-send-hidden-value/#findComment-371144 Share on other sites More sharing options...
le007 Posted October 17, 2007 Author Share Posted October 17, 2007 Solved, php error - thanks goys Quote Link to comment https://forums.phpfreaks.com/topic/73557-solved-send-hidden-value/#findComment-371169 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.