Jump to content

topcoder1

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Everything posted by topcoder1

  1. many times I have a php page that accepts many parameters and validate them $userName=null; $password=null; $firstName=null; $lastName=null; if(isset($_POST['userName'])$userName=$_POST['userName']; ... is there a way to dynamically create variable and then assign a value to it? for example is it possible to dyanmically create a variable $userName? I am thinking about something like this: createVariable('userName'); $userName='hi'; thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.