Because this is in PHP, it won't let me use single quotes. However without using single qotes around the $sTitle variable, this line won't work (if I use the single quotes it thinks that I want to end that line - when I don't), but without the quotes, the javascript function won't work.
I think this is a string issue but I don't know how to fix it.
Thank you for your help
THE CODE: [The $Title variable is where the trouble is]
<a href='javascript:GetOrder (" . $myrow['EventID'] . ", " . $Title . ", " . $myrow['Cost'] . ",0);'><IMG SRC='../Graphics/TitleGraphics/AddButton_1.jpg' BORDER=0></a>