Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,149,950 members, 7,806,744 topics. Date: Tuesday, 23 April 2024 at 10:24 PM |
Nairaland Forum / Science/Technology / Webmasters / A little error. (881 Views)
Please Webmasters I Need A Little Help With Making Money From My Site. / A Little Help On This / Airtel Nigeria Website Error Prone? (2) (3) (4)
A little error. by A7(m): 6:12pm On Oct 10, 2014 |
Will just snap & upload the shots. The browser isn't parsing some codes.
|
Re: A little error. by A7(m): 6:16pm On Oct 10, 2014 |
.html & .php codes
|
Re: A little error. by Nobody: 6:42pm On Oct 10, 2014 |
Na wa o [img]http://google.com[/img] |
Re: A little error. by DualCore1: 6:43pm On Oct 10, 2014 |
You are getting that because your browser cannot parse php code without a webserver. The right way to access your projects on xamp is through http://localhost. For this very project it is http://localhost/play/form.html Ensure apache server is started in your xamp control panel before running it. In a nutshell do not open files directly on the browser by double clicking them. 1 Like |
Re: A little error. by udokpuenyi(m): 9:54pm On Oct 10, 2014 |
Exactly as Duacore1 said it, as an addition check if the post is set before accessing the $_POST array values, give your submit button a name and use it to check if your form is actually sending values to the test.php script. In test.php type the below code <?php if(isset($_POST['submit_form'])){ /* where 'submit_form' is the name of your submit button*/ echo $_POST['submit_form']' } ?> once a webserver engine is on, the above script will run and you will access other values likewise 1 Like |
Re: A little error. by A7(m): 12:08pm On Oct 11, 2014 |
Thanks guys. That helps. |
(1) (Reply)
Html Audio Help......urgent / ADQUET - My Site Has Been Approved I Pasted The Ad Code But Not Showing / DOWNLOAD BEST SEO .MOBILE FRIENDLY BLOGGER TEMPLATE
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |