Jump to content

How do i add text to this line?


donkon

Recommended Posts

echo  "<div class='clink'><a href='".$site.$path."c/$adr/1/'>$rowpcat[category]</a></div>";

 

i just want text infront of all that, I tried adding an echo above but that makes text appear above the categories, i want it on the same line. I also tried inserting text commented inside the above but that didn't work. Im a total noob please help.

Link to comment
https://forums.phpfreaks.com/topic/148515-how-do-i-add-text-to-this-line/
Share on other sites

nope not working, its not working as i want it. Still coming out on top of the actual output, i can do that without adding within it, by a <div> sdsdsd</div> before the php code. I assumed if i entered before the class input on that line it would be for example:

 

My text here  "content"

 

but its still showing as

 

My text here

"content"

 

I want it on 1 line

Archived

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

×
×
  • 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.