Re: What the hell is wrong???

From: Date: Thu, 20 Jun 2002 08:20:54 +0000
Subject: Re: What the hell is wrong???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103090@lists.php.net to get a copy of this message
Hi, No No, you don't understand, this code that i gave you IS THE action page, i named it "self.php" only so that when i click submit, this page itself reopens.. and then it should display $name value as what i gave in the Text Field, but it doesnt... T. Edison Jr. --- "Lejanson C. Go" <lejanson@ntsp.nec.co.jp> wrote: > You bet it wont display at all. $name hasnt been set > yet. > and i guess it has no value at all. you can echo the > value > of $name on the action page. > > e.g > > > self.php > > <?php > echo $name; > ?> > > > > > > Thomas Edison Jr. wrote: > > > This is amazing. Been using PHP/mySQL pretty long > now. > > Just downloaded and installed the latest Apache > 1.3.24 > > on my windows xp pc, and the lastest php, and the > > latest mySQL. > > > > Configured everything, and everythin ran up fine.. > > EXCEPT!!! > > > > What the hell is wrong with this code : > > > > <html> > > <head> > > </head> > > <body> > > <?php > > echo $name; > > ?> > > > > <form action="self.php" method="post"> > > <input type="text" name="name" size=20> > > <input type="submit" value="go"> > > </form> > > > > </body> > > </html> > > > > IT IS NOT DISPLAYING THE VALUE AT AL!!! > > I was actually making a database script, simple, > where > > values are fed into the Database. What was > happening > > was that nothing was going into the DB, besides > blank > > spaces. I shortlisted issues and could then find > out > > that the Form Fields Variables values were not > even > > being displayed in the next page, let alone going > into > > the DB.... > > > > What is wrong with this?? > > > > T. Edison Jr. > > > > > > > > ===== > > Rahul S. Johari (Director) > > ****************************************** > > Abraxas Technologies Inc. > > Homepage : http://www.abraxastech.com > > Email : abraxastech@yahoo.com > > Tel : 91-4546512/4522124 > > ******************************************* > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > > > > > > -- > Lejanson C. Go, SDE I > ===== Rahul S. Johari (Director) ****************************************** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : abraxastech@yahoo.com Tel : 91-4546512/4522124 ******************************************* __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com

« previous php.general (#103090) next »