Jump to content


New Members
  • Posts

  • Joined

  • Last visited

mconte's Achievements


Newbie (1/5)



  1. it'll only echo $lowestrange if this expression is evaluated as true... wait, can you show your code with your changes?
  2. you'd want to use: $rowCountUpdate -= ($updated);}
  3. https://www.php.net/manual/en/language.operators.increment.php
  4. sure, if you did $a[++$i], it would increment $i first and set a new index $a[1] = 1
  5. ok, so $a[0] will equal 1 what do you want it to do?
  6. are you seeing an error from "select max(id) from persons;"
  7. I guess prior to 4.0 🙄 @phppup please do an "explain persons;" and show us the results ...is your id field a string??
  8. which version of mysql are you using? your version might not support MAX() try: $sql = "select id from persons order by id desc limit 1;" or: mysqli_insert_id($link);
  • 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.