VBE Posted October 1, 2012 Share Posted October 1, 2012 So this is about a 3-400 php file. I have pasted a link to code below. What you see at the top is the lines I am trying to add into the code at the bottom somewhere. I scanned for the first instance of $response and posted the portion of the code that includes it. Any input thanks http://paste.org/54823 Quote Link to comment https://forums.phpfreaks.com/topic/268961-new-to-php-help-with-adding-a-line-a-code-thanks/ Share on other sites More sharing options...
Christian F. Posted October 1, 2012 Share Posted October 1, 2012 So... What's the problem? Quote Link to comment https://forums.phpfreaks.com/topic/268961-new-to-php-help-with-adding-a-line-a-code-thanks/#findComment-1382074 Share on other sites More sharing options...
White_Lily Posted October 1, 2012 Share Posted October 1, 2012 your new to php and you figured out all that...? Chirsitian: I think he is having problems cutting and pasting... lol Quote Link to comment https://forums.phpfreaks.com/topic/268961-new-to-php-help-with-adding-a-line-a-code-thanks/#findComment-1382076 Share on other sites More sharing options...
VBE Posted October 1, 2012 Author Share Posted October 1, 2012 I dont know anything about php and I am trying to figure out how to correctly add the the top 2 lines of code into the section below. Does that make sense? Quote Link to comment https://forums.phpfreaks.com/topic/268961-new-to-php-help-with-adding-a-line-a-code-thanks/#findComment-1382131 Share on other sites More sharing options...
Jessica Posted October 1, 2012 Share Posted October 1, 2012 It's already there, on lines 103-104... Quote Link to comment https://forums.phpfreaks.com/topic/268961-new-to-php-help-with-adding-a-line-a-code-thanks/#findComment-1382132 Share on other sites More sharing options...
VBE Posted October 1, 2012 Author Share Posted October 1, 2012 Lol so i don't have to do anything else with parentheses or put it in a certain section of the code etc? Quote Link to comment https://forums.phpfreaks.com/topic/268961-new-to-php-help-with-adding-a-line-a-code-thanks/#findComment-1382133 Share on other sites More sharing options...
Adam Posted October 1, 2012 Share Posted October 1, 2012 How are we supposed to know that? Code does what you tell it, and without knowing what you're trying to do or what any of those functions do or return, we can't help you. Quote Link to comment https://forums.phpfreaks.com/topic/268961-new-to-php-help-with-adding-a-line-a-code-thanks/#findComment-1382135 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.