Jump to content

reportingsjr

Members
  • Posts

    1,183
  • Joined

  • Last visited

Posts posted by reportingsjr

  1. what is the different of production server and developing server?

    well.. If you are going to make a computer a production server and you would delete everything off of the computer ut what is needed to make it a server.. and it would sit there, and cost money, but you could host domains on it.A developing server jsut runs the code of a file offline to see what it looks like.. so in reality, its not really a server at all.. more like a compiler.
  2. yea, it would only take one table. It depends on what the car ids are, if they are like a10s5 then you cant do it, because auto increments can only be INTs...No, you cant have all the ones above 326 drop down one, although it would be very easy to create a php code to do that for you. make it a function and a form on a page so you just enter a number and it automatically drops everything down one..

  3. well thats a horrible server.. server should not be rebooted(restarted) very often, you should only do this when you and upgrading something or it has a problem..and BTW, you might want to change all of your links, none of them except the guest and login links work.. :)

  4. hmm.. Ive always wanted to learn how to code those .htacces pages, never bothered to look. so what your trying to do is redirect a page to your new domain?

  5. I was wondering.. what happened to the admins? it looks like they created, made a few post and left for good! I dont think that is very good admins, and we cant have any more mods for w3schools growing community...just wondering, thanks!

  6. well, you could do it his way.. but if the href has a special name or the file has to then just do it my way..[*EDIT] lol SFB, now he has two solutions instead of one. better for everyone!

  7. actually thats very easy...

    $month=date('n');if(month == "1"){echo '<a href="www.site.com/month1">month 1 activities</a>';}elseif(month == "2"){echo '<a href="www.site.com/month1">month 2 activities</a>';}elseif(month == "3"){echo '<a href="www.site.com/month1">month 3 activities</a>';}elseif(month == "4"){echo '<a href="www.site.com/month1">month 4 activities</a>';}else{}

    I think you get the picture.. date('n') shows the number of the month, starting with january.. so whatever month it is just check out the number for it..to learn more about date() check out this:http://www.w3schools.com/php/func_date_date.asp

×
×
  • Create New...