Web Analytics Made Easy -
StatCounter HELP: correct input code - CodingForum

Announcement

Collapse
No announcement yet.

HELP: correct input code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HELP: correct input code

    i'm pretty sure i'm writing this correct, however i did just guess... and i've learnt that my guesses are usually pretty off... what i have is

    three input fields with their name

    <input name="month">
    <input name="day">
    <input name="yeah">

    any my php code, what i'm doing is wanting to combine these three variables into one (and then of corse save them to sql.. don't need help saving to sql)

    PHP Code:
    $birthdate $_POST['month' 'day' 'year']; 
    is that how you do it?

  • #2
    $birthdate = $_POST['month'].$_POST['day'].$_POST['year'];

    Comment


    • #3
      thx

      Comment

      Working...
      X