If you look at the examples from the phpmailer folders you downloaded, you will notice that you need to call the Send function:
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
} else {
echo "Message sent!";
}
If you are allowed to have an .htaccess file in your folder, you can set the following php.ini directives:
- post_max_size
- upload_max_filesize
- max_input_time
More info at http://php.net/manual/en/ini.php
Try this then:
http://download.pear.php.net/package/HTML_Progress2-2.4.1.tgz
- and check the dependencies from:
http://pear.php.net/package/HTML_Progress2/download
If that scares you but you are handy with javascript, you should consider a plugin for jQuery http://jquery.com:
http://digitalbush.com/projects/progress-bar-plugin/
It is not clear which variables in your sample are columns in your table 'data'. You need to have variables, too.
I would use something like this, after setting the variables with values to be searched, depending on the format of the date:
$username = 'whatever';
$partial_date = substr($date, 0, 7);
$q = "SELECT * FROM `data` ";
$q .= "WHERE uname = '" .$username . "' AND tdate LIKE '". $partial_date . "%' ";
$q .= "ORDER BY id";
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.