Jump to content

[SOLVED] Quotes and predfined variables


Jaguar

Recommended Posts

if you specify $_POST[name], PHP thinks it's a constant index and will have to spend the time looking for the proper index.  if you use single quotes to delimit the index, you tell PHP that it's a string index and PHP has an easier (and faster) time locating the array item you're referring to.

 

it's just a matter of "correctness."

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.