The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
php ignoring quotes :X
Code:
$options .= "<option onClick=\"setvals(\"$id\",\"$subject\",\"$msg\");\">".$row['subject']."</option>"; echo $options; Code:
<option onClick="setvals("1,Testing Subject,Wootang Clang. I banged your mom. I banned you from my forum.);> |
#2
|
|||
|
|||
PHP Code:
|
#3
|
|||
|
|||
Hi
You have to use single quotes inside the JavaScript function call setvals(), because you cast the onClick value to be enclosed with double quotes! PHP Code:
|
#4
|
||||
|
||||
Moved to the correct forum, please read the forum descriptions more carefully in future
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|