By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,890 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,890 IT Pros & Developers. It's quick & easy.

i have a doubt in php link page

P: 83
Hi

I have a little bit knowleadge in php.I want to link the specified page using php,For example http://www.mydomainname.com/php/Jobrefno=74.

In the above link the job reference no is taken from the form

Using $_POST method but i can not able to print the jobrefno in the above link

the name of is input field is JobRefNo
$jobrefno = $_POST["JobRefNo"];

so the link is http://www.mydomainname.com/php/Jobrefno='$jobrefno';
but it will give the syntax error.



Please any one help to do this.
Thanks and regards
Sang
Feb 14 '07 #1
Share this Question
Share on Google+
1 Reply


ronverdonk
Expert 2.5K+
P: 4,258
Firstly, I think that /xxx/php/ is not a program, but a directory. So you do not actually link to a program.

Also, I am almost certain that you constructed a GET link, so you'll have to acquire the value with the $_GET['Jobrefno'].

Please tell us (a) what program do you want to link to and (b) what does your link statement look like (code)

Ronald :cool:
Feb 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.