Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-28-2004, 04:52 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Question Need help in PHP PROGRAM

Hay, i am newbie in PHP Programming. Thick in the following problem...

I have written a script name fav.html from which i expect to pass a variable
value to other page script i.e., fav.php. But it is not passing any value to other script on different page.

Please see following script.
fav.html // simple script
<head><title>Your Favourates</title></head>
<form action="fav.php" method="post">
<b>Enter Your Name</b>
<input type ="text" size ="45" name="username"><br>
<input type="submit" value="Submit this page">

<html><head><title>Your Submission</title></head>
echo("Your Name is $username");

My Current Result

Your Name is (Displaying Blank)

Why fav.html is not passing the value of $username to fav.php
Please help me!..................
Old 02-28-2004, 05:04 AM   #2
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55

Rep: Reputation: 15
Please see . This has enough documentation. Do get a book on PHP 4 programming and read it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP chat program jilljack Programming 2 10-14-2005 06:46 AM
Help to run the PHP program I installed Gins Linux - General 7 09-09-2005 05:01 PM
How executing c program with php? payal_shah Programming 6 04-08-2005 11:44 PM
Is it possible to have PHP trigger a C program ? lostboy Programming 4 07-13-2003 12:20 PM
want to execute a php file in a c++ program Mr_ss Programming 1 10-10-2001 04:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration