Jump to content

Question on $_POST


jdadwilson

Recommended Posts

You can use either single or double quotes. The associative array indexes are simply strings, so either will do, just as within php.

 

Not using any quotes will generate notices because php will first search the global namespace looking for a constant. When it can't find that constant php is smart enough to to try a string with the same value.

Link to comment
https://forums.phpfreaks.com/topic/61073-question-on-_post/#findComment-303951
Share on other sites

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.