Re: [PHP-WIN] Form problem variables are being sent in the query string

2005-08-22 Thread Chris
Your form should be defined like this: method="post"> The post method is what keeps the variables off the URL string, the action is the page to submit the data to. Chris Jim MacDiarmid wrote: I have 2 form fields one is a checkbox and the other is a hidden field. The checkbox is called "D

[PHP-WIN] Form problem variables are being sent in the query string

2005-08-22 Thread Jim MacDiarmid
I have 2 form fields one is a checkbox and the other is a hidden field. The checkbox is called "Display_" and gets incremented as the table rows are built like so. 'Display_'.$rec_count + 1 The hidden field is an array like this: Field[] The form method is $_SERVER['PHP_SELF'] For some rea

[PHP-WIN] Form Problem

2002-06-05 Thread James Meers
Hello, I have this form and its just not picking up the submit variable however it is posting them!!! Can someone double check this, what have i done? James \n"; } if (isset($submit)) { mysql_query("INSERT INTO $ntable VALUES ('

[PHP-WIN] Form Problem using PHP

2001-12-17 Thread Anthony Ritter
I am trying to create a two step form sequence using three files - one file is html and the other two are php. I am using Julie Meloni's book, "PHP Fast and Easy" as my source and the code is from that book on pp.198-209. The three files are: 1. show_createtable.html 2. do_showfielddef.php 3.