![]() |
PHP gurus please help
I use <?php echo $line; ?>
lets say it outputs "Hello you why are you here? YADA YADA YADA" now I want to insert something after the first yada how do i do that? thanks |
$var.'<br>some stuff here';
|
insert a <br/>
|
I believe this is what you are looking for: http://tinyurl.com/y8l6ubd
s/YADA/YADA Blah blah blah/ use link for exact setup |
so
<?php echo $line.'</br>insert text'; ?> and insert another <br/> after the yada input? did I get it right? |
need to edit the line where $line is set, not where it's echoed out..
|
ok so how does it know where to insert the text?
|
You need to use search and replace as I stated earlier. Change "YADA" to "YADA <br> or wtf you want"
|
All times are GMT -7. The time now is 04:26 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123