Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


ginerjm last won the day on August 1 2020

ginerjm had the most liked content!

1 Follower

About ginerjm

  • Birthday 03/23/1952

Profile Information

  • Gender
  • Location
    Voorheesville NY

Recent Profile Visitors

59,913 profile views

ginerjm's Achievements

Prolific Member

Prolific Member (5/5)




Community Answers

  1. These two lines: $result = $pdo->prepare($qry); while ($row = $qry->fetch(PDO::FETCH_ASSOC)) are the problem. The first creates a "statement" var so you could call it something like $stmt instead of result. Then you have to actually execute the prepared statement/query before you try and fetch something. Once you have done that you will be better off. Try looking at an example in the official PHP manual to get a better idea.
  2. I"ll leave the OP to your assistance. IF he ever show you some code
  3. MInd my wording? I am just frustrated at the lack of responsiveness from you. It has been pointed out twice to post your code (the part that matters if you have found it) yet you still haven't. How can it be made more clear? Please - try again. Please.
  4. What is this? A picture? Can you not choose the area where you think the problem is and help us focus in on actual code that needs looking at - not peering at with a magnifier? Have you not posted on any forum before? Show Us The Code please. And not all of it! BTW - what debugging have you done? Any echos to show the query that you have built to do this? Echos to show where your logic is taking you? An echo to show the success or failure of the query? Anything?
  5. I really don't think you are working with that code in the format as you posted. Please don't expect us to read it then.
  6. Your while statement is incorrect. The FALSE is not in the while statement. Drop it - you don't need it. As for the input data, perhaps you should research how to create the csv file correctly instead of trying to fix it afterwards? One question. If you have a csv file why do you need to run this script just to create another one?
  7. I have given you several suggestions. All you want to do is debate them. Good luck. I've obviously been wasting my time and energy.
  8. Debugging sometimes is best done by you putting outputs into your script to track the path your logic is taking. As well as to confirm your assumptions. In my experience forms never receive mail, hence my confusion. Using the term PHPMail is so close to name of the PHPMailer product that there was confusion. I've never seen anyone capitalize the PHP mail function that way before - hence the confusion. I do believe that if anyone else were to jump in here (and in 48 hrs. it doesn't seem to be happening) the first thing they would suggest is to download and use PHPMailer, a different and well-respected mailing package. And anytime you want to post some code in the general area of concern with this problem, I"m sure you would get some additional help.
  9. I am not educated in this knowledge, but if Xampp is running on Windows, Google say that you can setup a BAT job and schedule it. Do a google search for 'cron on xampp'.
  10. All have helped you out I see. But - I really thought that my solution worked perfectly well for you using the data as you have it currently defined.
  11. You are running that loop with the index values already represented as $i . Why do you want to mention an explicit index value? foreach($tools as $i => $val) { if ($i == 'broken') echo "We have $val $i tools at {$val['broken_price']} each"; if ($i == 'good_quality') echo "We have $val $i tools at {$val{'good_price']} each"; }
  12. I think you are in the wrong business. You don't even WANT to do any coding and this is a one word fix. Jeez! And pulling the chain of someone you expect help from is not the way to get more help. And you definitely need it.
  13. You don't seem to be offering us anything to work on. At least one person responded with a guess. As for what you are asking us to do - your opening post makes absolutely no sense to me and apparently nobody else since they haven't responded either. What is "phpmail"? Never heard of that one. Maybe you meant phpmailer? A typo then. What is "MTP"? Perhaps you meant to say SMTP? What does "receiving is disabled" mean? Got me. What is a "new-mail form"? Got me What is an "ap-call for mail()"? Have no idea what you are trying to convey with this one. So many (apparently) mis-typed references here I can't follow what you are trying to say. Have you done any debugging of your process to see what it is doing? Any error messages you haven't read yet? You certainly haven't passed any on to us? But that was already mentioned.
  14. And - num_rows is an integer. Don't compare it to a string.
  15. The checkbox is right there in your posted code. Add the attribute to it. Simple.
  • Create New...

Important Information

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.