Help!
Posted: Fri Oct 22, 2004 9:36 pm
Okay, so I've copied funtion.contact_form.php to function.titled_contact_form.php, made some changes and got it to working. I added this:
Now, if I do this:
It returns what I expect:
However, if I do this:
It returns:
Can anyone tell me why it don't like the double quotes (")?
Thanks,
BR
Code: Select all
if (!empty($params['title'])){
echo "<p class=smalltitle>{$params['title']}</p><p></p>";
}
Code: Select all
{titled_contact_form email="sombody.somewhere.com" title='Email Somebody'}
Code: Select all
<p class=smalltitle>Email Somebody</p><p></p>
etc.
etc.
Code: Select all
{titled_contact_form email="sombody.somewhere.com" title="Email Somebody"}
Notice the difference in the quotes around Email Somebody
Code: Select all
<p class=smalltitle>"Email</p><p></p>
Thanks,
BR