Computing.Net > Forums > Web Development > Help with PHP data forum

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Help with PHP data forum

Reply to Message Icon

Name: sting013
Date: January 25, 2006 at 13:44:46 Pacific
OS: Solaris 9
CPU/Ram: ?
Comment:

Hello all
I'm really new to PHP I set up a test forum to learn more about PHP. I thought I had everything set up right, but for some reason my variables are not being past to the next page. Here is the link to my test
https://www1.umn.edu/cco/test/JimTest/

Below is the code from the index.php
<h1 align="center">This is my form!</h1>

<table border="1" width="35%">
<form method="GET" action="proc.php">
<tr>
<td>First Name:</td>
<td>Last Name:</td>
</tr>
<tr>
<td><input type="text" name="fname" value="Jim"></td>
<td><input type="text" name="lname"></td>
</tr>
<tr>
<td>Address</td>
<td>City</td>
<tr>
<td><input type="text" name="address"></td>
<td><input type="text" name="city"></td>
</tr>
<tr>
<td>State</td>
<td>Zip</td>
</tr>
<tr>
<td><input type="text" name="state"></td>
<td><input type="text" name="zip"></td>
</tr>
<tr>
<td align="left" colspan="2"><input type="submit" value="Go"></td>
</tr>
</form>
</table>

and here is the info from proc.php
<?
print "Hello $fname $lname
";
print "Your Address is : $address $city $state , $zip
";

$cust ="$fname $lname $address $city $state $zip\n\n";
print "Everything = $cust";
?>

Thanks for reading my post



Sponsored Link
Ads by Google

Response Number 1
Name: sting013
Date: January 25, 2006 at 14:13:28 Pacific
Reply:

I found my answer
Thanks again for reading my post


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Help with PHP data forum

help with php code! www.computing.net/answers/webdevel/help-with-php-code/3049.html

help with php Forum? www.computing.net/answers/webdevel/help-with-php-forum/1598.html

php data security on server www.computing.net/answers/webdevel/php-data-security-on-server/3074.html