Hi!
I am a newcomer to the list and am also new to working with PHP. My question might seem really silly to you, but I would really appreaciate any help. I am trying to fit the following line of HTML in the PHP echo or print statements, because this is somewhere in the middle of a larger php program. I cannot separate the javascript thing into a different javascript function and call the function because the TITLE and BODY of this HTML page start in another php program and declaring a javascript function there does not help, as the call here does not recognize that function. The problem with putting the following line in the echo statement is the quotes. Because there are a lot of instances of quotes which I need PHP to ignore. Putting slashes manually or using addslashes does not help. Could anyone please explain the working of single (') and double (") quotes in PHP or suggest a solution to my problem? <a href="javascript:window.open("addfossilpage.php?me=$folder_id","width=430","height=450" )"> So, I want the line to be like: echo '<a href="javascript:window.open("addfossilpage.php?me='.$folder_id.' ","width=430","height=450" )">' and ask PHP to recognize only the single quotes. And $folder_id is a PHP variable. thanks, Prachi. --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup