Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1010849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T09:08:46+00:00 2026-05-16T09:08:46+00:00

New to PHP, would love to get to know it better. Currently working on

  • 0

New to PHP, would love to get to know it better. Currently working on a project around RSS + SMS gateway for users to get alerts on certain events around them.

I have a MySQL table with auto_increment ID’s, assigned systematically. I’d like to create a PHP page that allows the user to go to http://mysite.com/page.php?id=Mysql_ID – which in-turn loads the MySQL ID row (everything I specify it to load [msg,title,date])

What sort of things should I be looking into?

I have made a custom PHP search, but it isnt perfect yet.

Dont expect anyone to code anything, but would like to know what it’s called (the ‘?q=’ bit)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T09:08:47+00:00Added an answer on May 16, 2026 at 9:08 am

    The part of an URL after the ? sign is the query string; what the HTTP GET protocol uses to pass data. In PHP the data in there is available as $_GET['q'].

    E.g. If you have the URL example.com?name=John&id=7, the following would be true:

    <?php
    echo $_GET['name']; // John
    echo $_GET['id']; // 7
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm beginning a new project in PHP and I'd love to get some feedback
I am new to PHP and trying to get the following code to work:
I am starting a new web application in PHP and this time around I
I'm new to the world of PHP frameworks and, after some initial investigation, came
Has anyone ever modified the post-new.php file in their WordPress installation? I want to
I'm new to PHP and I'm confused seeing some examples calling a function with
I am pretty new to php, but I am learning! I have a simple
I'm painfully new to PHP, and was trying to set up phpBB on my
I'm new to PHP and have installed on Linux to boot (also a newbie).
Hi I am quite new to php but i have been following some tutorials

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.