Menu

passing on a variable

Help
Sage
2006-10-17
2013-06-03
  • Sage

    Sage - 2006-10-17

    I have a form with one txt field and a homemade button

    www.eatandwin.info

    I would like to pass on the promocode to either the form1.html or the process.php and or global.inc.php and finally on to the database.

    the promocode field exist in the DB with PHPmyAdmin

    the promocode is in the process.php file:

            pt_register('POST','promocode');

    and the global.inc.php is doing whatever it does

     
    • Musawir Ali

      Musawir Ali - 2006-10-20

      where is this promocode coming from? Why don't you just let the form generator handle everything? Create a form with the promocode field as a textbox and in the end tell it to store info into a mysql database. it will take care of everything for you. you don't need to manually create any part of the form.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.