No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
I am also having problems in mail(). My php.ini values are (sendmail_from:"no value", SMTP:"localhost", smtp_port:"25"), my code is very simple and is as below - [code=php]<html> <body> <?php if (isset($_REQUEST['email'])) { //send email $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; if (mail( "kathie_hkg@yahoo.com", "Subject: $subject", … | |
My static variable got initialized [B]everytime[/B] the function is called. Here's my code(simplied), thanks. - [code]<script> function validate() { return true; } </script> <?php vote(); Function vote () { static $testvar = 1; echo $testvar; if ($testvar == 1) { $testvar++; echo $testvar; } } echo '<td><input type="image" width=50% src="pix/camera.gif" … | |
Re: Assuming the code from aran87 is correct. When a visitor click on one of the checkboxes, how do I know which checkbox he clicked? |
The End.