Wrox Programmer Forums
|
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 28th, 2011, 02:56 AM
Registered User
 
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post Help pls (getting error in 5 chapter Form elements

The first program is not running correctly
it's not working
its the first code
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Say my name</title>
</head>
<body>
<form action="formprocess.php" method="post">
<table>
<tr>
<td>Name</td>
<td>rihit</td>
</tr><tr>
<td colspan="2" style="text-align:center;">
<input type="submit" name="Submit" value="Submit" /></td>
</tr>
</table>
</form>
</body>
</html>



2nd file is as follow
Code:

<html >
<head>
<title>Untitled Document</title>
</head>
<body>
<?php
echo '<h1>Hello' .$_POST['name'].'!</h1>';
?>
<pre>
<strong>DEBUG:</strong>
<?php
print_r($_POST);
?>
</pre>
</body>
</html>

it's not working please check this out and reply soon
Regards
Rohit
991-5858-991





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help pls (getting error in 5 chapter Form elements rohitpruthi55 Beginning PHP 1 November 29th, 2011 06:50 AM
Dynamic Resizing of Form Elements Relative to Form Shape in C# Bill_Thompson C# 2005 2 April 28th, 2010 07:41 PM
Javascript error: form.elements[...]..... mars123 Javascript How-To 0 November 28th, 2007 02:37 AM
PictureBox in MDI Form Pls Help! hamidawan VB.NET 2002/2003 Basics 2 October 10th, 2006 10:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.