![]() |
How do I get a plugin to work that contains quotes in the replace string?
For example, say I have this:
Code:
$stuff="<a href="showthread.php">test</a>"; |
PHP Code:
PHP Code:
|
you rock, I'll go try that now.
--------------- Added [DATE]1213117994[/DATE] at [TIME]1213117994[/TIME] --------------- This is my actual code, it still doesn't load. Code:
$threadprefixstuff="<a href=\"showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]\" id=\"thread_title_$thread[realthreadid]\"<if condition=\"$show[gotonewpost]\"> style=\"font-weight:bold\"</if>>$thread[threadtitle]</a> |
You need to use single quotes (instead of double quotes), to encapsulate your search and replace strings e.t.c. As single quotes do not parse variables.
|
You can use single quotes - you just need to concatenate.
|
All times are GMT. The time now is 02:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|