shi_zone86 Posted October 15, 2008 Share Posted October 15, 2008 i badly need guide from you all. i wanted to create 2 page PHP form. for example : lets say the first page , i wanted like message box and a submit but. ok what i want it, what ever text i type in the message box and once click the submit button ,i want it to be publish in second php page. can anyone help me? :'( please email me at [email protected] or [email protected] you can add me in YM or Hotmail? Link to comment https://forums.phpfreaks.com/topic/128500-problemhelp-me/ Share on other sites More sharing options...
MasterACE14 Posted October 15, 2008 Share Posted October 15, 2008 page1.php <form action="page2.php" method="post"> <input type="text" name="text" /> <input type="submit" /> </form> page2.php <?php if(isset($_POST['text'])) { echo $_POST['text']; } ?> Link to comment https://forums.phpfreaks.com/topic/128500-problemhelp-me/#findComment-665994 Share on other sites More sharing options...
shi_zone86 Posted October 15, 2008 Author Share Posted October 15, 2008 yes brother,it works but not as i want it. actually the page 1 and 2 is working, the thing is, when i type the information in page 1, it should rewrite the thing on page two,and when ever or ever i open the page two the information that i typed in page one should be there.for example in blogspot, after we write the post,then we click publish,the information will be publish in main page,i wanted like that? please help me my dear brothers Link to comment https://forums.phpfreaks.com/topic/128500-problemhelp-me/#findComment-666197 Share on other sites More sharing options...
Slip Posted October 15, 2008 Share Posted October 15, 2008 What is sounds like you are asking is "How do I create a script to write pages like blogs operate?" If this is the case then there are many processes involved and I think you need to take some time to learn the basics on web design and development first. There is no easy answer. Time, patience and more time. To point you in good direction, learn MySQL and PHP to create, save and edit pages. Learn (X)HTML to create the visual elements of a page and learn CSS to style your pages. Link to comment https://forums.phpfreaks.com/topic/128500-problemhelp-me/#findComment-666204 Share on other sites More sharing options...
shi_zone86 Posted October 15, 2008 Author Share Posted October 15, 2008 no no. my plan is not to create blog . i did a mobile web page for my friend where by i can share my detail with my friend, i did all 4 pages in HTML. but for latest activities page, i wanted to make it easier where i can just update like the one which i wrote up there. thats why i am asking. help me Link to comment https://forums.phpfreaks.com/topic/128500-problemhelp-me/#findComment-666356 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.