Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=321861.0
  2. (I put tags around your code, please use them next time)
  3. Because you can. I just did it
  4. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=321853.0
  5. What's the error?
  6. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=321849.0
  7. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=321843.0
  8. I think he's asking how to do it with PHP?
  9. You need to adjust the discount and/or amount values.
  10. Yes, makes perfect sense. I think I've actually made that comment before and you've explained it. :/
  11. Why are you using 01 and not 1? 01 is not an integer.
  12. yeah, it has been executed so how can i use them either at a time?? Yes, I already explained it. Remove the else in between the two blocks and use an elseif for the 'email' block. This way, only one will be executed. Read Pika's link before you try.
  13. Ok, that's pretty confusing. This suggestion may be a little loose but could you check to see if the @icon attribute does NOT match anychar_tabard_anychar via XPath and regex, like this? foreach($char_xml->characterInfo->characterTab->items->item[not(matches(@icon,'*tabard*'))] as $item)
  14. Sure, there are multiple ways of doing this depending on your structure. You can look at the page (URI), send a command for whatever page you're directing to etc. Again, it depends on your structure, specifically how you navigate through each section.
  15. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=321772.0
  16. Please, if you have a MySQL, put it there. I'll move it this time.
  17. Like this? echo "</pre> <table style='\"border:' solid black> \n"; for ($discount = 5; $discount { echo "\n"; for ($amount = 1.00; $amount { echo ""; echo "$" . (money_format('%i', ($discount/100) * $amount)); echo "\n"; } echo "\n"; } echo "</table>"; <br><br>?&g (Sorry, I reformatted the code to what I'm used to)
  18. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=320176.0
  19. You need += for your last clause in your loop clauses. Otherwise, you're not re-assigning the variable.
  20. You have to escape the dollar sign. That's a reserved character PHP.
  21. So what's the specific issue you're having? You haven't even asked a question.
  22. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=321739.0
  23. If that's the entire code then you have two '}' unaccounted for. Is there any way you can format that?
  24. Maybe you meant $row['enabled'] ?
×
×
  • 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.