From: | Roberto Mello <rmello(at)cc(dot)usu(dot)edu> |
---|---|
To: | Grant <grant(at)conprojan(dot)com(dot)au> |
Cc: | Steve Werby <steve-lists(at)befriend(dot)com>, pgsql-php(at)postgresql(dot)org |
Subject: | Re: PHP calling PHP? |
Date: | 2001-05-10 05:03:48 |
Message-ID: | 20010509230348.A8136@cc.usu.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
On Thu, May 10, 2001 at 02:54:58PM +1000, Grant wrote:
>
> echo "Username is <B>" . $$username . "</B><BR>\n";
> echo "Password is <B>" . $$password . "</B><BR><BR>\n";
Weird. When I tried using "$$varname" it wouldn't work, so I resorted
to un ugly use of eval to do the trick. I'll have to try again sometime.
> $time = date("U");
> echo "<FORM ACTION=\"$PHP_SELF\" METHOD=\"POST\">\n";
Ack! You could do this for much better readability instead:
echo "<FORM ACTION='$PHP_SELF' METHOD='POST'>\n";
-Roberto
--
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
Roberto Mello - Computer Science, USU - http://www.brasileiro.net
http://www.sdl.usu.edu - Space Dynamics Lab, Developer
The pizza at the neigbors table has always MORE chesse.
From | Date | Subject | |
---|---|---|---|
Next Message | Grant | 2001-05-10 05:10:23 | Re: PHP calling PHP? |
Previous Message | Grant | 2001-05-10 04:54:58 | Re: PHP calling PHP? |