Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected T_STRING in english/index.php


Guest

Recommended Posts

I'm trying to add some links to text main with the following code:

 

<a href="<?php echo tep_href_link(FILENAME_DEFAULT, 'cPath=24'); ?>">Camo Phone Covers</a>

 

I'm getting a parse error.

 

I'm obviously missing some quotes or delimeters, somewhere, but haven't figured what or where.

 

Also, if I'm using search to generate a page of products do I also need to use tep_href_link, if cookie usage is set to TRUE?

 

advanced_search_result.php?keywords=camo snap on

 

Sorry for the remedial questions. I should know this, at this stage of the game, but my knowledge is lacking.

 

Any help would be appreciated.

 

P.S. Hi, Mighty Mouse.

Link to comment
Share on other sites

Is this inside your define('TEXT_MAIL',''); language file? if so try it like this

'<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=24') . '">Camo Phone Covers</a>'

Link to comment
Share on other sites

Is this inside your define('TEXT_MAIL',''); language file? if so try it like this

'<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=24') . '">Camo Phone Covers</a>'

 

Thanks for the input, but sadly that doesn't seem to work either.

 

While we're pondering on this, I also need to put the link with an image.

Link to comment
Share on other sites

Can you post your code? I'll take a look at it.

 

Please ignore the illegal links to search and various categories. That's what I am trying to fix.

If you look at the table with <td colspan=2> then starting with apple.gif, that's where I'm trying to add the links to both the image and to add a text link.

I am also trying to clean up the advanced_search.php links.

 

Thank you for looking.

 

define('TEXT_MAIN', '<table cellSpacing="0" cellPadding="0" width="100%" border="2" bordercolorlight="#C0C0C0" bordercolordark="#800000">
<tr>
	<td class="main">
	<table cellSpacing="0" cellPadding="0" width="100%" border="0">
		<tr>
			<td class="main"><center>
			<table border="0" width="96%">
				<tr>
					<td height="112" width="26%">


					<img border="0" src="http://www.cellandsatellite.com/images/arrow%20left%20blue.gif" width="60" height="40"><font face="verdana" size="4">SHOP 
					FOR ACCESSORIES HERE!</font></td>
					<td valign=middle height="112">


					<font face="verdana" size="2">Cell 
			Phones and Satellite offers quality
			<a href="http://cellandsatellite.com/index.php?cPath=603">cell 
			phone accessories</a>,
					<a href="http://cellandsatellite.com/index.php?cPath=1152">iPod 
			covers and accessories</a>, 
					<a href="http://cellandsatellite.com/index.php?cPath=1156">
					iTouch covers and accessories</a>, and prepaid / replacement phones. </font>
			<p><font face="Verdana" size="2">We carry THOUSANDS of 
			CAMOUFLAGE, SOLID, TRANSPARENT and DESIGN <a href="http://cellandsatellite.com/index.php?cPath=603">
			CELL PHONE FACEPLATES / SNAP ON SHIELDS / PROTECTIVE CASES and CELL PHONE COVERS.  </a>  </font></p><br>	</td>
				</tr>
						   <tr>
							<td>
							<img border="0" src="http://www.cellandsatellite.com/images/paypal%20card%20verified%20ssl%20logo.jpg"></td>
							<td align=left>


					<a href="http://cellandsatellite.com/index.php?cPath=603_604">




			<p align=center><font face="verdana" size="2">WE ARE ONE OF THE BIGGEST 
			SUPPLIERS OF </font><b>
			<font face="Verdana" color="#008000" size="2">CAMOUFLAGE CELL 
			PHONE ACCESSORIES</font></b><font face="verdana" size="2">:</font></p>
			<p align=center><font face="verdana" size="2">Check them out!  </font><font face="verdana" size="2"><a href="http://cellandsatellite.com/advanced_search_result.php?keywords=camo case">CAMO cell phone cases</a>.
			<a href="http://cellandsatellite.com/advanced_search_result.php?keywords=camo snap on">
			CAMO Cell Phone snap on shields</a>,
			<a href="http://cellandsatellite.com/advanced_search_result.php?keywords=camo cover">CAMO Cell PHone Covers</a>,
			<a href="http://cellandsatellite.com/advanced_search_result.php?keywords=camo cover">CAMO Cell Phone Faceplates</a> ,
			<a href="http://cellandsatellite.com/advanced_search_result.php?keywords=hunter series">
			CAMO HUNTER SERIES cell phone cases and pouches.</a></font></p>
			<p align=center> </p>
							</td></tr>
<tr>
<td colspan=2>
<table border="0" width="718" id="table1" cellspacing="5">
<tr>
	<td align="center" class="boxText">
	<img border="0" src="http://www.cellandsatellite.com/images/apple.gif" width="103" height="42">
	</td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/audiovox.gif" width="100" height="32"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/blackberry.gif" width="98" height="20"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/htc.gif" width="100" height="33"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/kyrocera.gif" width="100" height="22"></td>
</tr>
<tr>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/lg.gif" width="77" height="35"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/motorola.gif" width="100" height="22"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/palm.gif" width="100" height="26"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/pantech.gif" width="100" height="26"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/nokia.gif" width="88" height="35"></td>
</tr>
<tr>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/samsung.gif" width="100" height="34"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/sanyo.gif" width="88" height="29"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/sony.gif" width="100" height="33"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/apple.gif" width="103" height="42"></td>
	<td align="center">
	<img border="0" src="http://www.cellandsatellite.com/images/camo.jpg" width="102" height="41"></td>
</tr>
</table>
<p> </p>
<table border="0" width="718" id="table2">
<tr>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/alltel.jpg" width="103" height="42"></td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/att.jpg" width="103" height="42"></td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/boost.jpg" width="103" height="42"></td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/cricket.jpg" width="103" height="42"></td>
</tr>
<tr>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/metropcs.jpg" width="103" height="29"></td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/prepaid.jpg" width="103" height="28"></td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/sprint.jpg" width="103" height="42"></td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/tmobile.jpg" width="102" height="22"></td>
</tr>
<tr>
	<td> </td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/uscellular.jpg" width="103" height="42"></td>
	<td>
	<img border="0" src="http://www.cellandsatellite.com/images/verizon.jpg" width="103" height="42"></td>
	<td> </td>
</tr>
</table>
</td>
</tr>
				<tr>
					<td valign="top" width="95%" colspan="2" align="center">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="640" height="63">
<param name="movie" value="http://www.cellandsatellite.com/images/631-rocawear.swf">
<param name="quality" value="High">
<embed src="631-rocawear.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="640" height="63" quality="High"></object>	
</td>
				</tr>
				<tr>
					<td valign="top" width="95%" colspan="2" align="center">
<img border="0" src="http://www.cellandsatellite.com/images/home%20g1%20matrix.jpg" width="640" height="225"></td>
				</tr>
				<tr>
					<td valign="top" width="95%" colspan="2" align="center">
<img border="0" src="http://www.cellandsatellite.com/images/home%203g%20enterity.jpg" width="640" height="225"></td>
				</tr>
				<tr>
					<td valign="top" width="95%" colspan="2" align="center">
<img border="0" src="http://www.cellandsatellite.com/images/home%20propel%20lotus.jpg" width="640" height="213"></td>
				</tr>
			</table>
				<p>
				<img border="0" src="http://www.cellandsatellite.com/images/rule%20red%20multi%20animated.gif" width="652" height="10"></p>
			<p><font face="Verdana" size="1">Here are some of just some of 
			the cell phone covers / snap on protective shields / faceplates 
			we offer:</font></p>
<table cellSpacing="10" border="0">
				<tr>
					<td width="25%"><u><b><font face="Verdana" size="1">
					Motorola:</font></b></u></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">V3, V3c, 
					V3m RAZR</font></td>
					<td width="25%"><font face="Verdana" size="1">V3xx RAZR</font></td>
					<td width="25%"><font face="Verdana" size="1">W385</font></td>
					<td width="25%"><font face="Verdana" size="1">K1M / K1 
					KRZR</font></td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">ROKR Z6M</font></td>
					<td width="25%"><font face="Verdana" size="1">RIZR Z6tv</font></td>
					<td width="25%"><font face="Verdana" size="1">V323 V325 </font></td>
					<td width="25%"><font face="Verdana" size="1">V3i / V3r 
					RAZR</font></td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">RAZR2 V9</font></td>
					<td width="25%"><font face="Verdana" size="1">RAZR2 V9M</font></td>
					<td width="25%"><font face="Verdana" size="1"> RAZR 
					V320</font></td>
					<td width="25%"><font face="Verdana" size="1">i335</font></td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">W755</font></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><u><b><font face="Verdana" size="1">LG:</font></b></u></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Shine 
					CU720</font></td>
					<td width="25%"><font face="Verdana" size="1">Voyager 
					VX-10000</font></td>
					<td width="25%"><font face="Verdana" size="1">enV2 
					VX-9100</font></td>
					<td width="25%"><font face="Verdana" size="1">enV 
					VX-9900</font></td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Vu CU920 CU915</font></td>
					<td width="25%"><font face="Verdana" size="1">Rumor 
					Scoop LX-260</font></td>
					<td width="25%"><font face="Verdana" size="1">VX-8550 
					Chocolate</font></td>
					<td width="25%"><font face="Verdana" size="1">Dare VX-9700</font></td>
				</tr>
									<tr>
					<td width="25%"><font face="Verdana" size="1">enV VX-9900</font></td>
					<td width="25%"><font face="Verdana" size="1">enV2 VX-9100</font></td>
					<td width="25%"><font face="Verdana" size="1">Shine CU720</font></td>
					<td width="25%"><font face="Verdana" size="1">Voyager VX-10000</font></td>
				</tr>
									<tr>
					<td width="25%"><font face="Verdana" size="1">AX-300 UX-300</font></td>
					<td width="25%"><font face="Verdana" size="1">Glimmer AX-830 UX-830</font></td>
					<td width="25%"><font face="Verdana" size="1">Lotus LX-600 LX600 </font></td>
					<td width="25%"><font face="Verdana" size="1">Rhythm AX-585 UX585</font></td>
				</tr>
									<tr>
					<td width="25%"><font face="Verdana" size="1">Venus VX-8800</font></td>
					<td width="25%"><font face="Verdana" size="1">Chocolate 3 VX-8560</font></td>
					<td width="25%"><font face="Verdana" size="1">&nbspInvision</td>
					<td width="25%"><font face="Verdana" size="1">Sway U650</font></td>
				</tr>
									<tr>
					<td width="25%"><font face="Verdana" size="1">Banter Rumor2 Lx-265</font></td>
					<td width="25%"><font face="Verdana" size="1"></font></td>
					<td width="25%"><font face="Verdana" size="1"></td>
					<td width="25%"><font face="Verdana" size="1"></font></td>
				</tr>

				<tr>
					<td width="25%"><u><b><font face="Verdana" size="1">
					Samsung:</font></b></u></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">A737 
					A736 Slider</font></td>
					<td width="25%"><font face="Verdana" size="1">Instinct 
					M800</font></td>
					<td width="25%"><font face="Verdana" size="1">U340</font></td>
					<td width="25%"><font face="Verdana" size="1">R500 Hue</font></td>
				</tr>
<tr>
					<td width="25%"><font face="Verdana" size="1">U740 Alias</font></td>
					<td width="25%"><font face="Verdana" size="1">U940 Glyde</font></td>
					<td width="25%"><font face="Verdana" size="1">A867 
					Eternity</font></td>
					<td width="25%"><font face="Verdana" size="1">A767 
					Propel</font></td>
				</tr>

				<tr>
					<td width="25%"><font face="Verdana" size="1">T919 
					Behold</font></td>
					<td width="25%"><font face="Verdana" size="1">i910 Omnia</font></td>
					<td width="25%"><font face="Verdana" size="1">M320</font></td>
					<td width="25%"><font face="Verdana" size="1">M630 
					Highnote</font></td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">M540 Rant</font></td>
					<td width="25%"><font face="Verdana" size="1">U940 Glyde</font></td>
					<td width="25%"><font face="Verdana" size="1">T739 
					Katalyst</font></td>
					<td width="25%"><font face="Verdana" size="1">i617 
					Blackjack 2</font></td>
				</tr>
									<tr>
					<td width="25%"><font face="Verdana" size="1">T459 Gravity</font></td>
					<td width="25%"><font face="Verdana" size="1"></font></td>
					<td width="25%"><font face="Verdana" size="1"></font></td>
					<td width="25%"><font face="Verdana" size="1"></font></td>
				</tr>
				<tr>
					<td width="25%"><b><u><font face="Verdana" size="1">Sony 
					Ericsson:</font></u></b></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">w580i 
					Walkman</font></td>
					<td width="25%"><font face="Verdana" size="1">w350i</font></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><u><b><font face="Verdana" size="1">
					Sanyo:</font></b></u></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">SCP-6600 
					Katana</font></td>
					<td width="25%"><font face="Verdana" size="1">Katana II 
					(2)</font></td>
					<td width="25%"><font face="Verdana" size="1">Katana DLX</font></td>
					<td width="25%"><font face="Verdana" size="1">Katana LX</font></td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Katana 
					Eclipse</font></td>
					<td width="25%"><font face="Verdana" size="1">S1</font></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><u><font face="Verdana" size="1"><b>
					Pantech:</b> </font></u></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Duo C810</font></td>
					<td width="25%"><font face="Verdana" size="1">Matrix 
					C740</font></td>
					<td width="25%"><font face="Verdana" size="1">Slate C530</font></td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><u><b><font face="Verdana" size="1">
					Blackberry:</font></b><font face="Verdana" size="1"> </font>
					</u></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Curve 8300 
					8310</font></td>
					<td width="25%"><font face="Verdana" size="1">Curve 8320 
					8330</font></td>
					<td width="25%"><font face="Verdana" size="1">Pearl 8100</font></td>
					<td width="25%"><font face="Verdana" size="1">Pearl 8110 
					8120 8130</font></td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Bold 9000</font></td>
					<td width="25%"><font face="Verdana" size="1">Storm 9530</font></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><b><font face="Verdana" size="1">TREO:</font></b></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Palm Treo 
					CENTRO</font></td>
				</tr>
				<tr>
					<td width="25%"><b><font face="Verdana" size="1">HTC:</font></b></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">Touch 
					Diamond</font></td>
<td width="25%"><font face="Verdana" size="1">G1</font></td>

					<td width="25%"><font face="Verdana" size="1"> </font></td>
<td width="25%"><font face="Verdana" size="1"> </font></td>

																</tr>
<tr>
					<td width="25%"><b><font face="Verdana" size="1">APPLE:</font></b></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%"><font face="Verdana" size="1">iPhone</font></td>
<td width="25%"><font face="Verdana" size="1">iPhone 3G</font></td>

					<td width="25%"><font face="Verdana" size="1">iTouch 2</font></td>
<td width="25%"><font face="Verdana" size="1">iPod Nano 3</font></td>

																</tr>

				<tr>
					<td width="25%"><font face="Verdana" size="1">iPod Nano 
					4</font></td>
<td width="25%"> </td>

					<td width="25%"> </td>
<td width="25%"> </td>

																</tr>

				<tr>
					<td width="25%"><b><font face="Verdana" size="1">NOKIA:</font></b></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%" height="23">
					<font face="Verdana" size="1">6085</font></td>
					<td width="25%" height="23">
					<font face="Verdana" size="1">6555</font></td>
					<td width="25%" height="23"> </td>
					<td width="25%" height="23"> </td>
				</tr>
				<tr>
					<td width="25%"><b><font face="Verdana" size="1">
					UTSTARCOM:</font></b></td>
					<td width="25%"> </td>
					<td width="25%"> </td>
					<td width="25%"> </td>
				</tr>
				<tr>
					<td width="25%" height="23">
					<font face="Verdana" size="1">Blitz TXT8010</font></td>
					<td width="25%" height="23">
					<font face="Verdana" size="1"> </font></td>
					<td width="25%" height="23"> </td>
					<td width="25%" height="23"> </td>
				</tr>

				</table>
			<p><font size="2" color=blue><i><b>WE SELL BOTH WHOLESALE AND RETAIL CELL PHONE ACCESSORIES, WEBCAMS, ROUTERS AND HEADSETS.  WHOLESALE CUSTOMERs PLEASE WRITE US VIA THE <a href="http://www.cellandsatellite.com/contact_us.php">*CONTACT US*</a> PAGE (LEFT COLUMN) FOR PRICING AND MORE INFORMATION.</B></I></FONT></p>
			<p><font face="Verdana" size="2">Browse our attractive, durable
			<a href="http://cellandsatellite.com/index.php?cPath=1086">CASUAL, EXECUTIVE, LEATHER, RAZR, SLVR, BLACKBERRY, TREO, WESTERN and LADIES CELL PHONE CASES, POUCHES AND HOLDERS.</a></font></p>
<img border="0" src="http://www.cellandsatellite.com/images/rule%20red%20multi%20animated.gif" width="652" height="10">
<br><img border="0" src="http://www.cellandsatellite.com/images/logo%20credit%20cards.gif">
			<img src="http://www.cellandsatellite.com/images/paypal%20card%20verified%20ssl%20logo.jpg" border="0" alt="PayPal SSL Secured"></A>
					<p><font face="Verdana" size="1">WE OFFER THREE WAYS TO MAKE 
			YOUR PAYMENT THROUGH PAYPAL:</font></p>
			<p><font face="Verdana" size="1">CREDIT CARD (<b>NO </b>PAYPAL 
			ACCOUNT REQUIRED)</font></p>
			<p><font face="Verdana" size="1">E-CHECK (<b>NO</b> PAYPAL 
			ACCOUNT REQUIRED)</font></p>
			<p><font face="Verdana" size="1">YOUR PAYPAL ACCOUNT FUNDS</font></p>
			<p><font face="Verdana" size="1">YOU DO NOT HAVE TO HAVE PAYPAL 
			ACCOUNT TO MAKE A PAYMENT. </font></p>
			<p><font face="Verdana" size="1">PayPal uses the Secure Sockets 
			Layer protocol (SSL) with an encryption key length of 128-bits 
			(the highest level commercially available).   Make your payment 
			securely!</font></p>
			<p><font face="Verdana"><u><i><font size="1">AND </font></i></u>
			<font size="1">we never see your credit card, or banking 
			information when you make a payment.  We only see your payment 
			amount with your name address and order information..</font></font></p>
				<p>
				<img border="0" src="http://www.cellandsatellite.com/images/rule%20red%20multi%20animated.gif" width="652" height="10"></p>
			<p><font face="Verdana" size="1">We have cell phone accessories 
			for the following contract and pay as you go services:</font></p>
			<p><font face="Verdana" size="1">Cingular cell phone covers,cases, snap 
			on shields, faceplates, & housings.  T-Mobile cell phone covers, cases, 
			snap on shields, faceplates, & housings.  Sprint / Nextel cell 
			phone covers, cases, snap on shields, faceplates, & housings.  Verizon 
			cell phone covers, cases, snap on shields, faceplates, & housings.  
			BOOST Mobile cell phone covers, cases, snap on shields, faceplates, & 
			housings.  Tracfone cell phone covers, cases, snap on shields, 
			faceplates, & housings.  NET10 cell phone covers, cases, snap on 
			shields, faceplates, & housings.  InPulse cell phone covers, cases, snap 
			on shields, faceplates, & housings.  Virgin Mobile cell phone covers, 
			cases, snap on shields, faceplates, & housings.  AMPD Mobile 
			cell phone cases, snap on shields, faceplates, & housings.</font></p>
			<p><font face="verdana" size="1">Order on-line:  Cell phone 
			holsters, hands free headsets, charms, straps, batteries, 
			FLASHING batteries, and phone covers for all major cell phone manufacturers. Shop 
			for model specific AUDIOVOX, NOKIA, APPLE (iPhone, iPhone3g, iTouch 2, Nano), HTC, LG, MOTOROLA, NEXTEL, PANTECH, SANYO, 
			SAMSUNG and SONY ERICSSON cell phone accessories or universal 
			items.</font></p>

			<p> </p>
			<p><font face="Verdana" size="1">Looking for refurbished 
			printers and terminals for your business? Visit
			<a href="http://www.printersandterminals.com" target=new><b>
			[url="http://www.printersandterminals.com</b></a>"]http://www.printersandterminals.com</b></a>[/url] 
			. The largest refurbished printer and terminal supplier in the 
			Southwest.</font></p>
							<p><font face="Verdana" size="1">Looking for costume jewelry? Visit
			<a href="http://www.injewelrynow.com" target=new><b>
			[url="http://www.InJewelryNow.com</b></a>"]http://www.InJewelryNow.com</b></a>[/url] 
			. The largest costume jewelry store on the web.</font></p>
			</center></td>
		</tr>
	</table>
	</td>
</tr>
<tr>
	<td align=center>
	<img height="1" alt="" src="pixel_trans.gif" width="1" border="0">
			<A href="http://www.dishnetwork.com/redirects/affil/default.aspx?kbid=31951&i=1"><img src="http://www.allsat.com/cgi-bin/bannerserve.cgi?l=728&w=090&t=gif&p=sb&s=01&kbid=31951" border=0></a>
			<br><A class="boxText" href="http://www.dishnetwork.com/redirects/affil/default.aspx?kbid=31951&i=1">Click here for DISH NETWORK Satellite TV</a>
			</td>	
			</tr>
</table>');

Link to comment
Share on other sites

I'm not sure if I got the right one. I used the one just below this section

				<p align=center><font face="verdana" size="2">WE ARE ONE OF THE BIGGEST 
			SUPPLIERS OF </font><b>

To just add a text link and to put the image in with the tep_image function change the line with your apple.gif image to

		<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=24') . '">Camo Phone Covers</a>' . tep_image(DIR_WS_IMAGES . 'apple.gif') . '

Now that section would look like this

<table border="0" width="718" id="table1" cellspacing="5">
<tr>
	<td align="center" class="boxText">
	<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=24') . '">Camo Phone Covers</a>' . tep_image(DIR_WS_IMAGES . 'apple.gif') . '
	</td>
	<td align="center">

To create a link using the image instead of text change that same line to

		<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=24') . '">' . tep_image(DIR_WS_IMAGES . 'apple.gif') . '</a>

Now that same section would look like this

<table border="0" width="718" id="table1" cellspacing="5">
<tr>
	<td align="center" class="boxText">
	<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=24') . '">' . tep_image(DIR_WS_IMAGES . 'apple.gif') . '</a>
	</td>
	<td align="center">

Link to comment
Share on other sites

Yes, this works!!! :D Thank you so much! Sorry, I didn't reply earlier. I passed out last night and had to study today.

 

I really appreciate your precise answer!

Link to comment
Share on other sites

Yes, this works!!! :D Thank you so much! Sorry, I didn't reply earlier. I passed out last night and had to study today.

 

I really appreciate your precise answer!

 

oops. one more.

 

I'm trying to link to advanced_search_result?keywords=apple+camo within the product description.

 

I can get any versions of the tep_href_link to work. I've tried it with, and without the <?php ?>

 

It won't resolve the function. Any ideas?

 

Thanks in advance!

Link to comment
Share on other sites

A thread about embedding PHP in product descriptions.

 

There's supposed to be a contribution regarding this, but I was unable to locate it.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...