Re: $PHP_SELF and MySQL ?
| From: | Franklin Hays | Date: | Thu, 05 Oct 2000 15:17:10 +0000 |
| Subject: | Re: $PHP_SELF and MySQL ? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3357@lists.php.net to get a copy of this message | ||
can you include your code? or did I miss it in an earlier post? did you
define what needs to be done when the form is submitted?
if($submit){
insert database stuff
} else{
display form
}
/frank
On Thu, 5 Oct 2000, DC wrote:
> Date: Thu, 5 Oct 2000 16:05:33 +0100
> From: DC <dave@davecarrera.com>
> To: php-db@lists.php.net
> Subject: [PHP-DB] $PHP_SELF and MySQL ?
>
> HI all
> Thanks for the help with my last post.
>
> I have created a db using the example in the SAMS book on PHP4, and it uses
> as its form action $PHP_SELF.
>
> The form and page parse all ok, after I sorted out my coding errors....
>
> But the form dose not post the required info to the MySQL db.
>
> Is there something I am missing?
>
> My set-up is Apache + Php4 + Mysql all working ok on a local system just for
> my own education.
>
> Thanks for any points of wisdom in advance
> Dave :-)
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>