Jump to content

Help me clean up/compact my echo's


bdrever

Recommended Posts

You can escape quotes by adding "\" before them. However, I suggest that unless this is part of a bigger dynamic code, you write it straight into the file. I mean:

<?php//php code?><A href="java script: popuponclick('<?php echo $row['ProviderList'];?>')">Open Popup Window</A>';<?php//more php code?>

Link to comment
Share on other sites

Hi!Try this

echo "<a href=\"java script: popuponclick( '" . $row['ProviderList'] ."' )\">Open Popup Window</a>";

Good Luck and Don't Panic!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...