In the demo file, there were only 4 fields. In mine, there are 9. These extra informations are for a client. Demo site : http://demo.cepreu.net/enfolio/
I edited the custom.js and ajax-functions.php to add these extra field in the code of tyhese documents. However, these new informations are nowhere to be seen in the mails I received via the contact form.
I started with PHP and Javascript like today so that's pretty new to me.
Could a good sould take a look at these short documents and tell me whats' wrong pretty please ? You would rock even more.
$to = 'contact@biosculpturegel-paca.fr'; // contact@biosculpturegel-paca.fr
$valid_referers = array(
'http://biosculpturegel-paca.fr/', // the URL to your page without www prefix
'http://www.biosculpturegel-paca.fr/' // the URL to your page with www prefix
);
I didn't read your files except for the code you pasted, but what you probably need to do is use what's called the "Concatenation Operator". In PHP it is the period and in JS it's the Plus Sign. It tacks strings together.
Example
PHP Code:
$a='Hello';
$b='World';
$c=$a.' '.$b;
echo $c;
//Hello World
the "\n" is a line break. It has to be in double quotes, not single quotes, or PHP won't interpret it. If your message in in HTML format then change it to ."<br>\n"
I didn't read your files except for the code you pasted, but what you probably need to do is use what's called the "Concatenation Operator". In PHP it is the period and in JS it's the Plus Sign. It tacks strings together.
Example
PHP Code:
$a='Hello';
$b='World';
$c=$a.' '.$b;
echo $c;
//Hello World
the "\n" is a line break. It has to be in double quotes, not single quotes, or PHP won't interpret it. If your message in in HTML format then change it to ."<br>\n"
Thank you TecBrat for your help. I will try what you said. Thank you again.
Bookmarks