• Member Avatar
    ehpratah

    Replied To a Post in PHPExcel Generate 2 or more Excel File

    anybody has an idea what am i doing wrong? when i try to creat a excel file base on the list of name i got from the reservations table using …
  • Member Avatar
    ehpratah

    Replied To a Post in PHPExcel Generate 2 or more Excel File

    notice the select query on both script. I dont know if the problem is the while loop or the foreach..
  • Member Avatar
    ehpratah

    Replied To a Post in PHPExcel Generate 2 or more Excel File

    But when i try to get a specific resfor its working the way it should be Working script <?php error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : …
  • Member Avatar
    ehpratah

    Created PHPExcel Generate 2 or more Excel File

    Hi Everyone! Can anybody point me to the right direction or check what am i doing wrong. Im trying to export data from php to excel using phpexcel( which is …
  • Member Avatar
    ehpratah

    Began Watching PHPExcel Generate 2 or more Excel File

    Hi Everyone! Can anybody point me to the right direction or check what am i doing wrong. Im trying to export data from php to excel using phpexcel( which is …
  • Member Avatar
    ehpratah

    Marked Solved Status for Ubuntu and Zorin not opening thunderbird and firefox?

    Hi Has anyone of you having a problem opening firefox , google chrome and thunderbird since yesterday? coz almost all of our unit that is running in ubuntu and Zorin …
  • Member Avatar
    ehpratah

    Replied To a Post in Ubuntu and Zorin not opening thunderbird and firefox?

    Foud the problem. it seems that the on access scanning of sophos is the one causing of the bugs.
  • Member Avatar
    ehpratah

    Created Ubuntu and Zorin not opening thunderbird and firefox?

    Hi Has anyone of you having a problem opening firefox , google chrome and thunderbird since yesterday? coz almost all of our unit that is running in ubuntu and Zorin …
  • Member Avatar
    ehpratah

    Began Watching Ubuntu and Zorin not opening thunderbird and firefox?

    Hi Has anyone of you having a problem opening firefox , google chrome and thunderbird since yesterday? coz almost all of our unit that is running in ubuntu and Zorin …
  • Member Avatar
    ehpratah

    Began Watching Error non-SMTP ACL

    Hi guys , I have a pretty big problem and I don't know how to fix it. I have a contact page that I did not work on my web …
  • Member Avatar
    ehpratah

    Replied To a Post in Error non-SMTP ACL

    Hi as **cereal** been pointing out you just need to add your "phpmailer " /sending code on your form action like `<form action="phpmailer.php" method="post">` after that you need to pass …
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    can you run this script? <?php echo phpinfo(); ?> please read http://php.net/manual/en/function.date-diff.php to better understand why you are getting that error message. Another thing your date_default_timezone is not correct please …
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    According to the php [manual](http://php.net/manual/en/function.date-diff.php), date_diff is only available in PHP 5.3+ so thats why you are getting a fatal error. check the version of your php by echoing `phpinfo();`
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    please be more specific what error are you getting? the sample i gave you is working perfectly on my side without any glitch.
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    dont put your if statement in a straight line if you have a comment on it. if($diff=='2'){ //send email }else { //do nothing } ?>
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    what error?
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    Your First script will work. you just need to make a cronjob for it to send the email automatically. $currentdate=date_create("2014-06-15"); $duedate=date_create("2014-06-13"); $diff=date_diff($currentdate,$duedate); echo $diff->format("%a"); if($diff=='2'){ //send email }else{ //do nothing …
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    No its not. the pc needs to be turned on for the task scheduler to work. the best option you have is yo use a cronjob on your webserver that …
  • Member Avatar
    ehpratah

    Began Watching How to send auto emails 2 days before PHP

    I want to create a webpage which will automatically send an email before 2 days. <form action="try.php" method="post"> <p>Date From : <input type="date" name="date1" /></p> <p>Date To: <input type="date" name="date2" …
  • Member Avatar
    ehpratah

    Replied To a Post in How to send auto emails 2 days before PHP

    Hi First you must create a script that will check your DB if if the duedate is 2 days before. a simple select query will work.something like `SELECT * FROM …
  • Member Avatar
    ehpratah

    Marked Solved Status for cryptolocker ? encrypted files

    Hi i just wanna know if there are way to **decrypt a files that is infected and decrypted by a virus / malware**? all of the files from one of …
  • Member Avatar
    ehpratah

    Marked Solved Status for Count from 2 table

    Hi Im having a hardtime making my query work the way it should be.i'm getting wrong output. basically what im trying to do is a simple user statistic that will …
  • Member Avatar
    ehpratah

    Replied To a Post in Count from 2 table

    yes sure but its a large file so i'll just trim it down. this is for the table trans_logs for the Date 2015-06-04 CREATE TABLE IF NOT EXISTS `trans_logs` ( …
  • Member Avatar
    ehpratah

    Replied To a Post in Count from 2 table

    tried it several time already on phpmyadmin with the same error message.
  • Member Avatar
    ehpratah

    Replied To a Post in Count from 2 table

    Hi LPS! thanks for your for that but unfortunately its not working i am just getting this error message. Error in Processing Request Error code: 504 Error text: Gateway Time-out …
  • Member Avatar
    ehpratah

    Edited Count from 2 table

    Hi Im having a hardtime making my query work the way it should be.i'm getting wrong output. basically what im trying to do is a simple user statistic that will …
  • Member Avatar
    ehpratah

    Edited Count from 2 table

    Hi Im having a hardtime making my query work the way it should be.i'm getting wrong output. basically what im trying to do is a simple user statistic that will …
  • Member Avatar
    ehpratah

    Created Count from 2 table

    Hi Im having a hardtime making my query work the way it should be.i'm getting wrong output. basically what im trying to do is a simple user statistic that will …
  • Member Avatar
    ehpratah

    Began Watching Count from 2 table

    Hi Im having a hardtime making my query work the way it should be.i'm getting wrong output. basically what im trying to do is a simple user statistic that will …
  • Member Avatar
    ehpratah

    Began Watching Notice: Undefined index: id

    I am getting this "Notice: Undefined index: id" error message for my login system. I have tried several things to fix this but i have had no luck, i have …

The End.