Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php wacked?

Status
Not open for further replies.

bastienk

Programmer
Joined
Mar 3, 2004
Messages
326
Location
CA
I have a really strange issue where php is not rendering any html links to the browser. Like
Code:
echo "<tr><td colspan=\"4\"><h4><a href=\"ads.php?a=add\">Create a new ad<a/></h4></td></tr></table>";
[\code]

is not rendering the link. It looks like its not even passing the link text to the browser to be rendered.

Any one run across this? Any ideas as to what to do? 

Running W2K pro, IE6, php4.3

TIA
 
Technically, PHP doesn't render anything. PHP just generates an HTML string which is sent to the web browser by the web server. The web browser does the rendering.


The only thing I can see is that you have "<a/>" in your echo statement. This should read "</a>".

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
render schmender.



Can you present the rendered output in addition to your source? We can't tell what, if anything, is being rendered. Are the table tags not being rendered as well? Is the echo function contained in a conditional statement that is not being processed?

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top