The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
$fav="<a href=".str_replace(" ", "+", $_POST[url]).">".$_POST[mysearch]."</a>";
echo $fav; Nothing gets outputted. |
|
#2
|
||||
|
||||
|
One thing that stands out to me is the quotes in the statement. You need to precede the ones you want to keep as quotes with a backslash. So, if you wanted to write:
$fav="<a href="http://this.site.here/">"; you would actually write: $fav="<a href=\"http://this.site.here/\">"; |
|
#3
|
||||
|
||||
|
Spread it out a bit more
. The code is fixed aswell.PHP Code:
|
|
#4
|
||||
|
||||
|
There is nothing wrong with his original code (even if not properly formatted), it should still output something, at least an error.
![]() Code:
echo $fav; exit;
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|