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

  • SEARCH
  • Home
  • 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 4617702
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:09:42+00:00 2026-05-22T02:09:42+00:00

I am trying to send a simple get to another page, and it doesn’t

  • 0

I am trying to send a simple get to another page, and it doesn’t send the correct info. I am pulling my id from mySQL, and its turning into a variable, which is $id. I am echoing a button so a user can click on the button and learn more about the item.

Here is my echo.

    echo "<td width='120' align='middle'><a href='info.php?id='" . $id . "'><input              
    class='btn' style='font-family:Helvetica' type='submit' value='Info'></a></td>";

If I simply say echo $id; it shows ’30’ which it’s supposed to. But pushing it using the echo above doesn’t work. So I tried adding a hidden text field and submitting that. If I do that, it doesn’t add on the id=, it just puts in the URL info.php?30= instead of info.php?id=30

Any ideas?

  • 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-22T02:09:44+00:00Added an answer on May 22, 2026 at 2:09 am

    You have an extra ' in the href parameter which may be causing problems. Change it to:

    <a href='info.php?id=" . $id . "'>
                         ^--- extra ' was here
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am trying to send a variable to another page with a post request
I'm trying to get a simple send and receive UDP program working, but I'm
Hello I'm trying to send a simple GET request using flex mx:HTTPService: <mx:HTTPService id=service
I'm trying to send simple email via Ruby (no rails) on OS X, with
I'm trying to send messages generated by Google Protocol Buffer code via a simple
I have a very simple workflow that is just trying to send an email
I am trying to do a simple app that will send email. The constructor
I am trying to send my dynamically created silverlight 2 page/image to a an
I am trying to send an email from a site I am building, but
I'm trying to add a simple feature to my app, it should simply send

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.