$_POST vs $_REQUEST
[email protected] (Slack-Moehrle)
| Newsgroups | php.general |
|---|---|
| Message-ID | <1805389354.299.1266871156449.JavaMail.root@indie.theindiecompanyllc.com> |
Hi All, I have Forms that I submit for processing. I have seen examples of people using either $_POST or $_REQUEST. When would I choose one over the other? Also, I see examples of these being used with and without the single quotes Like: $_POST[j_orderValue] or $_POST['j_orderValue'] Single quotes is best, correct to prevent sql injection? -ML