RE: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread Martin Towell
sure - do exactly as you described. just because a variable is appended to a url, doesn't mean it HAS to be used in an SQL statement. It can be used for anything you like - even ignored... :) -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:56

Re: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread lmlweb
Hi, I went ahead and tried it - it works beautifully, where the title does show up perfectly when you arrive at the form. I filled out the form both to test the actual email body and the resulting html page once you've filled out the form and submitted. The $title variable does not show up in

RE: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread Martin Towell
yep - definately need that hidden field, just a simple line will do (normally) input type=hidden name=title value=?= $title; ? you'll have to do funky stuff if there's quotes in the title or anything that gets escaped, like ', and \, etc -Original Message- From: lmlweb [mailto:[EMAIL

Re: [PHP] Can I use variable appended to the end of a link if I'm not using it for SQL query?

2002-04-01 Thread lmlweb
No, not quite there yet - I've done the following and it still doesnt' show up. Here's what I have in my hidden input: input type=hidden name=event value=?php echo $event; ? and modified the Mail form: $event = addslashes($event); // to escape any funky stuff mail($recipientname