Jump to content

mike1313

Members
  • Posts

    116
  • Joined

  • Last visited

About mike1313

  • Birthday 10/27/1985

Profile Information

  • Gender
    Male
  • Location
    United States

mike1313's Achievements

Member

Member (2/5)

0

Reputation

  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
×
×
  • 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.