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 MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=358872.0
  2. Usually a couple of days Maybe he's in such shock he just doesn't know what to say... nah.
  3. Congrats David, wonder how long it'll take you to notice...
  4. Merlin, in the future, place OR tags around your code.
  5. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=358801.0
  6. $sql = "SELECT * FROM jobs WHERE from_date >= '".substr($newdate, 0, 10)."' $keyword_search $sector_search $salary_search $location_search $type_search ORDER BY job_refno DESC" echo $sql; $getjobs = mysql_query ($sql) or die (mysql_error());
  7. There shouldn't be more than 1 author in a field. Each "author entry" should be in a separate record. I would set up your table something like this: Authors table: id lastname firstinitial bookid
  8. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=358740.0
  9. Locked. xyph is right, let's keep it on topic next time.
  10. Good 1.
  11. jbonnet, the last reply was from October 11, 2008. Please don't revive really old threads like this.
  12. You shouldn't need the {} for this. You'd use it for an array value but a regular variable, no need. I prefer them for readability. But if you want to get picky, you only need them for String keys.
  13. You can either use interpolation (which requires double quotes): echo " You cast Nature's Cure (Recovered {$healspell})"; Or concatenation (you can use single or double): echo ' You cast Nature\'s Cure (Recovered ' . $healspell . ')'; There are a few other ways, but these are most common.
  14. I'm a big fan of minimalistic, especially for a tool such as this. A nice simple design for a nice simple tool.
  15. http://dev.mysql.com/doc/refman/5.1/en/mysql-command-options.html#option_mysql_xml
  16. And you could have just read the documentation. It's there for many reasons, one of them being to prevent posts like this.
  17. Did you read the link?
  18. I like the "Are all 4 tires there?" part, it's like asking, "is your computer plugged in?"
  19. First of all, you can upload JQuery yourself and use it, I've never heard of a hosting service restricting this. Having said that, AJAX is simply a technique you can employ in your code. The 2 major components of this design is the interface and constructing the query. Depending on your criteria, you can use a combination of radio buttons, check boxes, etc. The same concept applies in Java as PHP, after the user submits. Construct the query based on what parameters & conditions the user selects. This is something we can only help you with when you post code.
  20. 1) The ideal solution would be to alter your table name to something non-reserved. But if not, you put the backticks around the column name: SELECT * FROM Captains order by `$SortKey` 2) Read this for proper error handling - http://www.phpfreaks.com/blog/or-die-must-die I would also check to see if there were 0 rows returned with mysql_run_rows and give proper feedback to the user.
  21. Hi and welcome.
  22. I can't recommend one but these look promising (annotations, cropping etc.): http://www.techsupportalert.com/best-free-screen-capture-utility.htm
  23. This topic has been moved to PHP Freelancing. http://www.phpfreaks.com/forums/index.php?topic=358320.0
  24. salman, in the future, place OR tags around your code.
×
×
  • 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.