Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About taquitosensei

  • Rank
    Prolific Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. taquitosensei

    multiple select statements

    Agree with NotionCommotion create a function that you can pass 10 or 30 to then run the appropriate sql.
  2. taquitosensei

    Do you see my coding error?

    echo your query to make sure it's doing what it's supposed to. Psycho is probably right. Those two records problem don't have a first name and you're getting this. "select * from w WHERE first_name=''"; So you get those two rows. echo $query;
  3. taquitosensei


    I think your $buzz and $buzz2 need to come before and after the <select>'s and then you need to make the blank option selected. <?php echo ($buzz)?$buzz:""; ?> <select name="select"> <option value="" <?php echo ($buzz)?"selected":""; ?>>Please select the level</option> <option value="Administrator">Administrator</option> <option value="License">License</option> <option value="Scorer">Scorer</option> <select> <?php echo ($buzz2)?$buzz2:""; ?>
  4. taquitosensei

    send email from database problem

    NM - just saw the 2nd page of responses. Your original code is really really wrong. It's looping through the database results and trying to send an email each time. Then when you're done with your loop you set the headers and message that you used inside your loop to send the e-mails. Try this. You'll have to put your actual table name in instead of x. But if you don't get anything from that. Then the problem is the query or $link $query = "select * FROM x where id > ='210'"; $result = mysqli_query($link, $query); if(mysqli_num_rows($result) > 0) { while($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { var_dump($row); } }
  5. taquitosensei

    send email from database problem

    comment out the line that actually sends the e-mail then do a print_r on the $row to make sure you're actually getting the info you're expecting //@mail($email_to, $email_subject, $email_message, $headers); print_r($row);
  6. taquitosensei

    send email from database problem

    You've got alot of things out of order here. You're creating your headers after you send the e-mail. You've got the ending bracket for your database loop before the headers. This may not be perfect. But it should get you closer.
  7. taquitosensei

    syntax error detection

    If you're on a shared host there may be a php.ini in your webroot that you can edit to turn on errors. When they upgraded it may have replaced the existing php.ini.
  8. taquitosensei

    Scheduled Task and include relative addressing

    You could do a batch file that runs the php cd c:\path\to\your\php\file php yourphpfile.php save that as whatever.bat then run whatever.bat with your scheduled task, that should take care of the relative paths
  9. taquitosensei

    PHP insert taxonomy (hey that rhymes!)

    Taxonomy is a wordpress question more than php. Here's wordpresses information on taxonomy. https://codex.wordpress.org/Taxonomies
  10. taquitosensei

    Why isn't this function updating table?

    Have you echoed the sql statement that doesn't work to see if it's something obvious. Without knowing table structure and the data you're trying to insert makes it a little difficult to guess.
  11. taquitosensei

    PHP Blank Emails...

    Definitely needed a CASE of beer.
  12. php can't find simple_html_dom you're missing the php extension It should probably be include(simple_html_dom.php); then if it's not in the same folder as your p100.php then you'll need to use the relative path to it.
  13. taquitosensei

    where to start with CUSTOMER TRACKING

    This is a HELP forum. Not a do it for you forum. Although it for u m. Nm. You have to at least try and then show us what you did, then someone can say "Ok here's what you need to do differently." and then point you in the right direction.
  14. taquitosensei

    Escaping the @ sign

    Take it a step further have them type in their e-mail twice and don't activate their account until they've clicked the link in the confirmation e-mail.
  15. taquitosensei

    Make it faster

    I would use in_array instead of if for the extensions. $extensions=array('gif','jpeg','jpg','png'); natsort(files); foreach($files as $file) { if(in_array($ext,$extensions))) { // do_stuff } }

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.