asmith Posted November 25, 2007 Share Posted November 25, 2007 if i have a html table like this : <table> <tr><td id="site logo"><img src="site logo.gif" /></td></tr> <tr><td id="content"> <form action="submit.php" \\ submit a user </form> </td> </tr> </table> . . . submit.php <?php // if everything was ok , echo "you are now a registered user"; ?> how can i make the "you are now a registered user" in my html row 2 , in content part without echoing the whole page again ? (the coding above shows "you are now a registered user" in a all white page) Link to comment https://forums.phpfreaks.com/topic/78759-solved-submit-msg-in-specific-part-of-the-page/ Share on other sites More sharing options...
revraz Posted November 25, 2007 Share Posted November 25, 2007 Do your PHP first, then print the variable after, along with your HTML. Link to comment https://forums.phpfreaks.com/topic/78759-solved-submit-msg-in-specific-part-of-the-page/#findComment-398585 Share on other sites More sharing options...
asmith Posted November 25, 2007 Author Share Posted November 25, 2007 example? ??? Link to comment https://forums.phpfreaks.com/topic/78759-solved-submit-msg-in-specific-part-of-the-page/#findComment-398586 Share on other sites More sharing options...
revraz Posted November 25, 2007 Share Posted November 25, 2007 There are so many, you just have to read 2 pages of posts to find a handful. Search for IF ISSET SUBMIT Link to comment https://forums.phpfreaks.com/topic/78759-solved-submit-msg-in-specific-part-of-the-page/#findComment-398587 Share on other sites More sharing options...
asmith Posted November 25, 2007 Author Share Posted November 25, 2007 anyway how can i put a link in the script ? i mean i want to tell the script when it everything was ok , then open this link . ? Link to comment https://forums.phpfreaks.com/topic/78759-solved-submit-msg-in-specific-part-of-the-page/#findComment-398590 Share on other sites More sharing options...
~n[EO]n~ Posted November 25, 2007 Share Posted November 25, 2007 See here there are some basic examples http://www.phpfreaks.com/quickcode.php Link to comment https://forums.phpfreaks.com/topic/78759-solved-submit-msg-in-specific-part-of-the-page/#findComment-398591 Share on other sites More sharing options...
asmith Posted November 25, 2007 Author Share Posted November 25, 2007 oops i was almost forgot ! i knew it ! thanks guys ! solved! Link to comment https://forums.phpfreaks.com/topic/78759-solved-submit-msg-in-specific-part-of-the-page/#findComment-398592 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.