sanleless Posted August 31, 2007 Share Posted August 31, 2007 Since I am very new to coding PHP I have no idea how to put this all technical like so I'm just gonna have to ask untechnically. What I want to do is add something to the end of the output from a form. For instance, if I had $name I want the output to be nameblah. Currently it just leaves it blank if I do $nameblah because of course that is not the name of the field. I hope this made sense. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/67504-add-to-output/ Share on other sites More sharing options...
lemmin Posted August 31, 2007 Share Posted August 31, 2007 echo $name . "blah"; Quote Link to comment https://forums.phpfreaks.com/topic/67504-add-to-output/#findComment-338933 Share on other sites More sharing options...
Ken2k7 Posted August 31, 2007 Share Posted August 31, 2007 echo $name . "blah"; Something tells me that can't be it. Quote Link to comment https://forums.phpfreaks.com/topic/67504-add-to-output/#findComment-338935 Share on other sites More sharing options...
sanleless Posted August 31, 2007 Author Share Posted August 31, 2007 Nope, it didn't work. heh Quote Link to comment https://forums.phpfreaks.com/topic/67504-add-to-output/#findComment-338939 Share on other sites More sharing options...
peeps Posted August 31, 2007 Share Posted August 31, 2007 I just tried it and it worked for me. ??? Maybe you can try this. $name = 'dan'; $name .= 'blah'; echo $name; Quote Link to comment https://forums.phpfreaks.com/topic/67504-add-to-output/#findComment-338949 Share on other sites More sharing options...
sanleless Posted August 31, 2007 Author Share Posted August 31, 2007 Excellent! Thank you so much Quote Link to comment https://forums.phpfreaks.com/topic/67504-add-to-output/#findComment-338953 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.