guys i want my php pages appear as eg : my-page.com/page.php?id=01 please tell me how to do it and do i need to create many pages each one with different id or how does it work .
Awah Mohamed
-5
Junior Poster
Recommended Answers
Jump to PostIf your form method is get then your element name and values are submitted through the URL of your action file.
<form method="get" action=page.php"> ... </form>
You receive the id by using the following statement in page.php:
id=$_GET['id']; echo id;
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.