@NogDogJan 23.2009 — #It looks like you are trying to embed PHP within PHP (i.e., you're already inside a <?php...?> set of tags when you try to open another around the echo)?
Actually what I am trying to do is open a page after I have inserted the mysql record with the record already loaded. I tried your suggestion and got the following error now:
[I][B]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[/B][/I]
@NogDogJan 23.2009 — #I suspect we will need to see more of the code and/or explanation so that we have some idea of what is going on, since the code you posted does not in and of itself do any database querying.