Does anyone out there have any experience of either
a) embedding php (php hypertext preprocessor) in html code or
b) calling some php code from within html code?
I am creating a website for a friend and using some code I got from my html book. What I'm trying to do is have the user fill in various on-screen fields, then use the php code to generate and send an email.
Both the html code and php code are very short, but for some reason it ain't working. I don't think the php code is being called 'cos it certainly ain't generating an email.
I would think there's probably one or two very small things I've got wrong in the code, but I'm buggered if I can find them.
Is there anyone out there who could take a look at some bits of code and let me know what I'm doing wrong please?
Rather than cut 'n' paste the code here, probably easier to do it via PM or email.
Thanks in advance
cheers - Phil - 6X
a) embedding php (php hypertext preprocessor) in html code or
b) calling some php code from within html code?
I am creating a website for a friend and using some code I got from my html book. What I'm trying to do is have the user fill in various on-screen fields, then use the php code to generate and send an email.
Both the html code and php code are very short, but for some reason it ain't working. I don't think the php code is being called 'cos it certainly ain't generating an email.
I would think there's probably one or two very small things I've got wrong in the code, but I'm buggered if I can find them.
Is there anyone out there who could take a look at some bits of code and let me know what I'm doing wrong please?
Rather than cut 'n' paste the code here, probably easier to do it via PM or email.
Thanks in advance
cheers - Phil - 6X