Re: [PHP] PHP Syntax Help - Check?

2010-02-24 Thread Robert Cummings
Rick Dwyer wrote: Hello all. I'm trying to learn PHP on the fly and I have a line of code that contains syntax I can't find documented anywhere: php echo check('element8'); In the above line, can someone tell me what check means? In the above, check is a function. It is being called

Re: [PHP] PHP Syntax Help - Check?

2010-02-24 Thread Paul M Foster
On Thu, Feb 25, 2010 at 12:16:08AM -0500, Robert Cummings wrote: Rick Dwyer wrote: Hello all. I'm trying to learn PHP on the fly and I have a line of code that contains syntax I can't find documented anywhere: php echo check('element8'); In the above line, can someone tell me what check

Re: [PHP] PHP Syntax Help - Check?

2010-02-24 Thread Rick Dwyer
OK... external function... that would explain why I could not locate it. Let me get right to the problem I am having with this code as someone may be able to help directly. I have a link on a page that opens a contact form. The link is mypage.php?my_id=5 So on mypage.php, I capture this

Re: [PHP] PHP Syntax Help - Check?

2010-02-24 Thread viraj
if you do the redirection with header('Location: /mypage.php'), setting a variable on formcheck.php is not enough. if you modify the header('Location: /mypage.php') to.. header('Location: /mypage.php?my_id=5') it will take the variable to mypage.php as $_GET['my_id] you can not expect a

Re: [PHP] PHP Syntax Help - Check?

2010-02-24 Thread James McLean
On Thu, Feb 25, 2010 at 4:22 PM, Rick Dwyer rpdw...@earthlink.net wrote: OK... external function... that would explain why I could not locate it. Let me get right to the problem I am having with this code as someone may be able to help directly. I have a link on a page that opens a contact

Re: [PHP] PHP Syntax Help - Check?

2010-02-24 Thread Rick Dwyer
Hmm. OK with the help below, I am closer. The other fields on the page are getting passed via form fields that look like this: input type=text value=?php echo check('element9'); ? name=form[element9] size=40 maxlength=255 so I added: input type=text value=?php echo check('my_id'); ?