Jump to content

nyi8083

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by nyi8083

  1. Does this function exist in PHP? I have been searching for this function for a while or any mention of it but have come up with nothing.  I'm using the $_GET['whatever'] to pass variables via the URL, and I am just not sure if that variable which is going to be a number needs to be converted to an integer if i want to use it to access part of an array.

    for example, could this hypothetically work? ($a is an array)

    $desc = $a[$_GET['whatever']];

    I am assuming it will not, but my knowledge of php is very limited
×
×
  • 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.