Re: mysql php theory

  • From: Octavian Râsnita <orasnita@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 26 Feb 2009 22:13:17 +0200

That text can't be sent to the server.

You need to include the text you want to send in the value of that checkbox.

<input type="checkbox" name="name" value="Blabla" /> Blabla

Octavian

  ----- Original Message ----- 
  From: Bryan Schulz 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Thursday, February 26, 2009 10:06 PM
  Subject: mysql php theory


  hi list,

  could someone give an idea or example of what would be needed for a user to 
make choices and then save the choices to a mysql database?

  my thought is;
  display the login form,
  check password and allow access/show the next form,
  user makes choices in check boxes,
  the submit/save action saves the choices to the database.

  does someone have a sample of how the text shown next to a checkbox get sent 
to the database?
  like race car drivers;

  X John Force, $1,250,000
  x = the check mark

  how would you send "John Force" to the driver field and "$1,250,000" to the 
value field of the drivers_chosen table?
  thanks,

  Bryan Schulz
  The BEST Solution
  www.best-acts.com

Other related posts: