The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. August 22, 2019, 02:17:59 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: PHP Get a title=  (Read 1905 times)
webinfoguy25
Journeyman
***
Offline Offline

Posts: 56


View Profile
« on: July 16, 2014, 01:44:11 PM »

How do i take the  value and add it to the url in the href?  (NOTE*=I need to pass this variable to multiple links on this page: http://contourmd.net/Brands/Oleeva/)  So if add one of the strings to the url of http://contourmd.net/Brands/Oleeva/?id=12349 its not going to work for the rest of the links.
Code:
<a title="">


Code:
<p>37VM-10<br>Oleeva Vertical Mastopexy Shape (Each)<br><a title="12349" href="/Oleeva-Vertical-Mastopexy-Shape-Each">
Output would look like this after php renders:

Code:
<p>37VM-10<br>Oleeva Vertical Mastopexy Shape (Each)<br><a title="12349" href="/Oleeva-Vertical-Mastopexy-Shape-Each/?id=12349">




/Oleeva-Vertical-Mastopexy-Shape-Each/?id=12349
« Last Edit: July 16, 2014, 01:58:27 PM by webinfoguy25 » Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: July 18, 2014, 03:45:01 PM »

Totally confuse me, because you just added a value at the end of the URL. So what are you asking?

But on a side note, you say, "you want to pass that to several URLs..."

so I think you should consider cookies rather than just URL params.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!