All pastes #627322 Raw Edit

Untitled

public text v1 · immutable
·published 2007-07-20 07:32 UTC
rendered paste body
I am not understanding the basics of quotes when needing to switch in the case below. can someone explain to me what i need to do in a case like this. i start out with a quote to echo out standard html like a div, the div has a parameter so is use a " but within that parameter i have another parameter for my onclick, im out of quotes to use what do i do?

Basic Example

<?php echo '<div onlick="location=' . phpvariable(values,values) . '"></div>'; ?>