~ Fe Pixie ~
NOTE - snippet code edited above for cross server compatibility - please try it again if it didnt go for you
Have fun
~ Fe Pixie ~
~ Fe Pixie ~
FePixie had to make some corrections to her snippet. Here is the new and amended contact form as a snippet.
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
oops! permission denied is what I get Inger.
same here Inger, can't get the snippet
I don't think it has anything to do with your snippet attachment though, I couldn't download a few others above either, I think the forums messed up. I sent email to Scott so hopefully someone will look at this and let us know what's up
I don't think it has anything to do with your snippet attachment though, I couldn't download a few others above either, I think the forums messed up. I sent email to Scott so hopefully someone will look at this and let us know what's up
Checking into this right now.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
Seems to be ok now anyway...
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Generate random comments
dont forget to save the page with a .php extension to make it go
<?php
// comments array
$com[1]="comment 1";
$com[2]="comment 2";
$com[3]="comment 3";
$com[4]="comment 4";
$com[5]="comment 5";
$com[6]="comment 6";
$com[7]="comment 7";
$com[8]="comment 8";
$com[9]="comment 9";
$com[10]="comment 10";
// pull 3 comments (change the 3 to the number of comments you want to display)
for ($a=0; $a<3; $a++) {
// pick a random number between 1 and 10 (change the 10 if you have more or less comments)
$pull = rand(1,10);
// get the one that matches the random number from the list
$comment = $com[$pull];
// display it
echo "$comment<br />";
}
?>
// comments array
$com[1]="comment 1";
$com[2]="comment 2";
$com[3]="comment 3";
$com[4]="comment 4";
$com[5]="comment 5";
$com[6]="comment 6";
$com[7]="comment 7";
$com[8]="comment 8";
$com[9]="comment 9";
$com[10]="comment 10";
// pull 3 comments (change the 3 to the number of comments you want to display)
for ($a=0; $a<3; $a++) {
// pick a random number between 1 and 10 (change the 10 if you have more or less comments)
$pull = rand(1,10);
// get the one that matches the random number from the list
$comment = $com[$pull];
// display it
echo "$comment<br />";
}
?>
dont forget to save the page with a .php extension to make it go
Have fun
~ Fe Pixie ~
~ Fe Pixie ~
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.