Good to hear. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of kab62uk Sent: Thursday, May 19, 2005 2:02 PM To: [email protected] Subject: [php_mysql] Re: Just cant get this to work!
Hi Conor thanks for your advice that was the problem I had been working on the form but not the add record php page that it was passing to. All sorted now! M --- In [email protected], "Conor Doyle" <[EMAIL PROTECTED]> wrote: > What is the sql statement you are using to put the data into the DB? My > guess there is a variable handling problem in the script. > > Conor > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of kab62uk > Sent: Thursday, May 19, 2005 12:42 PM > To: [email protected] > Subject: [php_mysql] Just cant get this to work! > > Hi there - y as I might I cant seem to get this to work. I have a > mysql database,am using phpmyadmin,and dwmx2004. > I have a table - tasks with a colum Priority. > I have set this up as ENUM yes or no and the default to no > (PHPmyadmin insists I have a default in there) > Ok in my php page I have the following for the form > > <input name="Priority" type="checkbox" id="Priority" > value="yes"></td></tr> > > > However when a user checks the box it doesnt seem to pass the value > yes to mysql database - the output page just has no in it the > default value! > Any help or advice would be greatly appreciated. > I have inserted a record stright into phpmyadmin and it seems to be > working fine there so it is definitely someting in my page that is > wrong! > Thank in Advance > M. > > > > > > The php_mysql group is dedicated to learn more about the PHP/MySQL web > database possibilities through group learning. > Yahoo! Groups Links The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
