php-general Digest 25 Jun 2011 21:11:42 - Issue 7375
Topics (messages 313716 through 313718):
Re: [PHP-DB] Re: radio form submission
313716 by: Vitalii Demianets
313717 by: Vitalii Demianets
313718 by: Tamara Temple
Administrivia:
To subscribe to the digest,
On Friday 24 June 2011 21:44:05 Chris Stinemetz wrote:
if (!array_key_exists($_POST['store_type'], $choices)) {
echo You must select a valid choice.;
Nothing wrong to me. Perfectly valid way of checking if there is at
On Saturday 25 June 2011 01:24:10 Andre Polykanine wrote:
Maybe I'm off topic, but wouldn't you consider JavaScript form
validation? That will make your task easier and the user will see
his/her error much earlier, before he/she submits the form.
JavaScript validation is useful
On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote:
On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com wrote:
On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote:
On 24 June 2011 15:44, Vitalii Demianets vi...@nppfactor.kiev.ua
wrote:
And furthermore, I think Carthage must be
Hi,
have some difficulty with my 'select'
In my select/menu, I display all the options come from a table (table_db_email)
in my database
In this table (tb_code_prmtn11_email) I have two field :
fld_email_id
fld_name_email
It works here is a code
code
On Jun 24, 2011, at 1:44 PM, Chris Stinemetz wrote:
radio select validation
What I am doing wrong?
I want to make sure a radio button is selected, but my current code
allows insertion even when radio button isn't selected.
At the risk of repeating myself:
From: Tamara Temple
On Jun 24, 2011, at 2:20 PM, Jim Giner wrote:
Call me backwards, but I prefer to keep my statements simple. I
would first
obtain the POST value before trying to pull up an array element.
$stype=$_POST[''store_type'];
if (!isset($stype))
(handle missing radio button)
else
7 matches
Mail list logo