1

Hey all! I started to code php yesterday in need to create good dynamic websites to our server project for one game. I got c++ expirience of like 7 months soon, so the syntax is known to me excluding some differences. I've wondered how do I make a page like when you go to index page and click link from there it goes to page like index.php?Page=2 not to other php file. Did I says it enough clear. I really don't know with what word to google for it.

Edited by Silvershaft: n/a

4
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by almostbob
0

headers are the way to go

header('location:?Page=2'); 
// fullway: header('Location:./index.php?Page=2');

then to get the 2 you have todo: $page = $_GET['Page']; //$page will be 2

Edited by Kruptein: n/a

0

You said you started coding PHP yesterday and today you want to make a dynamic Website? If I get you well, you should spend little more time familiarizing with PHP/MySQL before jumping to such project (Or you know already of two beasts?)

Welcome to PHP anyway ;)

1

Yes Im wanting to make UCP for our server control panel I got some idea how to create I think I need to start session first and store all data there taken from mysql to show for the user who logs in.

Votes + Comments
Confidence, cool, attitude makes a lot of difference in accomplishing your goals
1

Got to give Kudos for the self confidence,
&
you found a great place to ask questions if confidence isnt enough

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.