Welcome to Geeklog, Anonymous Sunday, October 13 2024 @ 03:29 am EDT
Geeklog Forums
php in general....
Anonymous
Anonymous
Hi, i am a semi noob in php, i know my way around and have written lotsa hacks... Now im gonna write my own php website from scratch..now then... i got a book, and all the web help possible but i need the basics... which... none of the above have helped me with. Now my special request, is that someone explain to me how does php pass variables around... i mean how does it work when you click a link for example and it's like /index.php?topic=yourtopic&something=something
This is cruacial but unfortunately i have little or no idea what that means or how it works. Excuse my ignorance and thanks again.
3
2
Quote
Anonymous
Anonymous
It works the same way as any other programming language. If you don't understand this concept then you aren't ready to write a whole site from scratch. You need to get the basics under your belt first, or you're going to write very ugly and inefficient code. I don't know what book you got but you need one on basic programming concepts.
2
3
Quote
Anonymous
Anonymous
Check out http://us2.php.net/manual/en/language.variables.external.php.
To get variables off the query string depends on your PHP setup but $myLocalVariable = $_GET['queryStringVariable'] should work on most current PHP setups.
-dubz
4
7
Quote
Anonymous
Anonymous
Thanks for that link i think i answered my question.
4
4
Quote
All times are EDT. The time is now 03:29 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content