Jump to content

web address code listed does not pull data from mysql


tryingitout

Recommended Posts

<img alt="" src="../images/a1.gif" style=" margin-right:10px; vertical-align:middle"><span ><strong>Send a Prospect Email</strong><br> <a href="http://www.bragdisc.com/OBC/$LeadID = $_GET['LeadID']"; target="_blank">Click here</a> to send an email guiding a prospect to the web version of your Presentation Disc's.</span><br>

Hi the last part of the webaddress line should be the code number from the datase. it just shows up as it is typed here in the web address bar. what did I do wrong?

Link to comment
Share on other sites

The error is on line 37 of your code.  A special thanks goes out to PHP user "Crayon Violent" for helping out with this troubling case as well =).

 

Thank you both, but I am a total newbie. I don't even show 37 lines of code here, so still not sure who to fix the last part of the web address portion  Thanks anyway.

Link to comment
Share on other sites

can you please copy and paste the entire code and enclose them in code tags e.g:

 

[code]use code tags like this without the space before the slash[ /code]

 

Hi,Here is the part I think you are referring to. Again I apologize if this not the correct way you wanted it, but I put brackets around it. Short version is the line of code that won't work for me. I want the part after the OBC in the webaddress line to pull a code number from the mysqul database. Instead it just shows the stuff I have typed in. When I hard code a number from the database like 888280 the address works and take someone to that page. full working example is www.bragdisc.com/OBC/888280.

 

[<a href=http://www.bragdisc.com/OBC/$access_code = $_GET['access_code]";

 

[<a href=http://www.bragdisc.com/OBC/$access_code = $_GET['access_code]"; target="_blank">Click here</a> to send an email guiding a prospect to the web version of your Presentation Disc's.</span><br>]                       

 

Link to comment
Share on other sites

Did you check the error at line 7?  What about line 3?

 

checked it by the only way I know how..  this line of code is a "button" on the web page, and it works takes user to new web site for logging in at www.bragdisc.com/OBC/------- and opens in a new page like it should.  but I still can;t get the portion after the OBC/ to pull anything from the databse. whatever I type after the OBC/ shows up as typing in the address bar of the page it opens.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.