Jump to content

mike1313

Members
  • Posts

    116
  • Joined

  • Last visited

Everything posted by mike1313

  1. I intended to go back to some of my older threads and posts but when I checked my profile there aren't any? Did my stuff get deleted? Thanks.
  2. That would work, but basically I need it so if they put music like? It would return the same results. So basically I need to search the entire string for two words like and music no matter what words come in between or what order they are in as long as they are in the same string.
  3. Alright basically what is want to do is take user input and I want it to check if the user asked if you like music? And I want to have so if you just entered, like music? it would return the same. So do you like music? and like music? would return the same result. So, Would preg_match be the best solution? Thanks in advance.
  4. I want my page view.php?id=# Where number can be any number 1-99 for example and I want it to go to view.php instead of view.php?id=55 How can I do this?
  5. So if I wanted my forums to display topics in threaded style say I have 2 tables topics and posts would using a JOIN be the best way to do this? I would want this sort of output Topic1 -Reply1 -Reply2 -Reply1_2
  6. or $result = mysql_query("...") or die("Error in query: " . mysql_error());
  7. If you left out the extra set of () that may have been your problem
  8. In the database is it being stored as an INT or are you trying to store it as TIMESTAMP?
  9. try foreach (mysql_fetch_array($result) as $row) { echo(date('format string', $row[timestamp])); }
  10. So, is it being stored in the database as an integer?
  11. Let the manual be your best friend http://www.php.net/manual/en/function.date.php
  12. Do you have Apache and PHP installed locally?
  13. Post more code like your selection query
  14. check out this http://freshmeat.net/projects/phpslideshow/
  15. How do you have the code for your <a> setup?
  16. $result = mysql_query("SELECT * FROM Loans"); $num_rows = mysql_num_rows($result); IF ($num_rows <=25){ $date = date("Y-m-d G:i:s", strtotime("+1 Day")); $date0 = date("Y-m-d G:i:s"); $date1 = date("Y-m-d G:i:s", strtotime("+2 Day")); $date2 = date("Y-m-d G:i:s", strtotime("+3 Day")); $date3 = date("Y-m-d G:i:s", strtotime("+7 Day")); } ELSEIF($num_rows > 25) { $date = date("Y-m-d G:i:s", strtotime("+2 Day")); $date0 = date("Y-m-d G:i:s"); $date1 = date("Y-m-d G:i:s", strtotime("+3 Day")); $date2 = date("Y-m-d G:i:s", strtotime("+4 Day")); $date3 = date("Y-m-d G:i:s", strtotime("+7 Day")); } ELSE { //some code }
  17. Looks good in Firefox. Nice job.
  18. Is size your own function? If so post code.
  19. Yeah so you want it as simple as possible almost check out this link http://crossbrowserajax.com/
  20. It really depends what all you want to accomplish with it.
  21. I have javascript code that in order to function properly has to be placed before the starting <html> tag, but when I do this it increases the font size of the text on the main page. Is there a way to fix this?
  22. It just depends of the skill level of the programmers involved really.
  23. Well it all depends really, coming up with the concepts of the game, characters, story, etc is probably the most time consuming. Considering the 2 people know what they are doing code wise that part shouldn't take entirely too long.
×
×
  • 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.