Jump to content

dotPHP

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dotPHP's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello. I am creating a PHP game, and I am stuck on a small line of code. Basically, when users have a job, and when they click a button to go to work, they'd be paid one hour later (as in, the SQL query will be executed one hour later). I am testing it so the time is at 10 seconds, so it shouldn't update for 10 seconds, but instead it is executed automatically. Here is the pastebin: http://pastebin.com/d63fbbabe
  2. I drink about 3-4 cups of tea a day and I tend not to eat snacks at all on the computer - and I think the main problem people face when eating snacks on the computer is that it becomes a habit - not hunger. I take considerate breaks after coding as it is quite tiring, but satisfying when the work is completed. It's best to get some fresh air as well as exercise regularly otherwise you'll replace bad-habit snacking to good exercise which you need. Not good to stay at a computer 24/7 coding.
  3. PHP is definitely the best option for websites like that. That is PHP's originally inception . I remember when I learnt from a book and I didn't particular like it - so I learnt from the Web instead. And yes, there is so many support sites out there for PHP - theres a never-ending cycle of sites that are willing to help you. There's also PHP.net mailing list as well, which I highly recommend. To do that sort of site, it won't take you long - and certainly will need a database for the advert modifications that you'll allow. Good luck .
  4. Absolutely true. I have only been coding with PHP for a while, and I can make some quite decent scripts. My latest project is a bulletin board system, I have already done the categories/forums, topics and reply, admin panel, login and register sections. This is all hosted in a database. This has taken me about a week and a half, which isn't bad considering the script is over 1000 lines long now. If you want to learn PHP, the best place to start is Pixel2life.com and Hotscripts.com. You need some time to be able to contribute to learning, and learning too much would be really impossible, one thing at a time is the best practice when learning anything, especially a programming language. Don't expect to learn a fully fledged scripting language in a day, as it won't happen like that. It takes a few weeks for PHP to become logical to you. How I learnt PHP was by looking at tutorials on how to make small scripts like a login and registration page, as well as some other stuff on security. Best to start out with small scripts, and eventually when you are competent find some tutorials on some more advanced scripts, if you need. Hotscripts.com is the best place to find small scripts as well, and learn how to use PHP code - and this is one very useful way of learning PHP. To me, there's no point wasting money on books when you can learn online yourself, for free - after-all, PHP is open source! Good luck.
  5. Name's Ben, 14 years of age, and I know (X)HTML, CSS and PHP. I have been coding in PHP for about a month now, only just hopped onto PHP ;). My main interests are computing, programming, Web Development and playing batminton. Reason I picked PHP is that's the first language I was introduced to, I understood it - and went from there.
  6. I use PHP5 on both my private and production server, so more likely my projects will work on both of my servers.
×
×
  • 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.