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

passing variables from php page to html page

P: 10
please help me how i can send a variable from one php page to another html page
Dec 15 '11 #1
Share this Question
Share on Google+
2 Replies


Dormilich
Expert Mod 5K+
P: 8,639
HTML doesn't use variables because it is not a programming, but a mark-up language. so it will be pointless to send a variable over. (PHP is supposed to output HTML code)
Dec 15 '11 #2

P: 45
you can't send php variables to html page, instead send the variables from a PHP page to another PHP page.

inside the php page you can write whatever html you want(outside php tag)
Dec 16 '11 #3

Post your reply

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