1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Is it possible to split an input field into two fields? See details inside.

Discussion in 'MySQL' started by qwikad.com, Mar 4, 2012.

  1. #1
    I would like to split the field specific location on this page:


    into two fields. I want keep the same MySQL table for that field but make it possible for visitors to enter 2 separate texts:

    <input name="area" type="text" size="40" class="input" maxlength="50" value="<?php echo $data['area']; ?>">

    Can this be done?
    qwikad.com, Mar 4, 2012 IP
  2. mwasif

    mwasif Active Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Yes, it is possible. You need to concatenate both fields in PHP and then insert to database.
    mwasif, Mar 5, 2012 IP