Answered
PHP help for a Novice please
Hi,
I am learning php, because I am working on a site that uses it, so, there is some syntax which I don't understand its function, so I thought if I post it here somebody may be able to tell me what it would do.....
A page has a form on it, the form begins with this
<?php $ref = $_GET['ref'];
then has the form tag with action="details_process.php?ref='.$ref.
now, the bit i'm not understanding what it does is the $ref = $_GET['ref']; and the ref='.$ref. at the end of the for action.
I appreciate this is taken out of the page so may make no sense, but if it is a standard function could somebody please tell me what it is?
Many many thanks in advance
that form action is set to go to a process.php page
I am learning php, because I am working on a site that uses it, so, there is some syntax which I don't understand its function, so I thought if I post it here somebody may be able to tell me what it would do.....
A page has a form on it, the form begins with this
<?php $ref = $_GET['ref'];
then has the form tag with action="details_process.php?ref='.$ref.
now, the bit i'm not understanding what it does is the $ref = $_GET['ref']; and the ref='.$ref. at the end of the for action.
I appreciate this is taken out of the page so may make no sense, but if it is a standard function could somebody please tell me what it is?
Many many thanks in advance
that form action is set to go to a process.php page
