Search results

  1. mattura

    New to PHP and very confused...

    Yep agree with table/thead/tr/td etc, makes it much clearer. BUT, some browsers do strange things if you line-wrap <td> tags: <td> Content </td> MAY not be the same as: <td>Content</td> so watch out!
  2. mattura

    STUDENT - Javascript problem

    Agree with natsuki. Nothing against you goldy30, it's just your first post looked like you hadn't made any effort yourself. Since then you have posted your code - don't be ashamed to do so! Nobody will make fun of it, people will help.
  3. mattura

    PHP help

    whoops! my mistake! Sorry guys!
  4. mattura

    PHP Source Code

    Yes I believe it is pretty cool! I'm always adding new features to it and because I know how it works, and have made it very modular, this process is not difficult. Yeah, for that kind of application, I would think a CMS is highly unsuitable. I started on something like that (a pirate game) a...
  5. mattura

    Unique php page

    freecrm you are a Trojan! Well, that and you have far too much time on your hands!
  6. mattura

    Count to 1 Million

    330 policemen going to the secret ball! lol@Mitch - I was trying to un-cheat the post above me (which would have skipped 12)!!
  7. mattura

    Guess Who Posts Next

    Wrong! I guess someone who is listening to music right now
  8. mattura

    So.. What does everyone want to do / do for a career?

    Military. Or Air traffic control. I have the aptitude. I want to get out of computing as soon as possible! People keep asking me to fix their computer!!!
  9. mattura

    ORDER BY challenge..

    I'm not entirely sure what you mean, is it: Your page shows results, and then a user can click to order them differently, running the same query with an 'ORDER BY' ? If you want other variables to be saved, maybe add them to the URL string...
  10. mattura

    Sort of shy.

    Don't be shy! Posting gets you credits...which could eventually lead to you getting a free domain, or other benefits.
  11. mattura

    Self Destruction?

    I think we are a most creative race, actually. As mentioned in naerey's post, our population has exploded whilst the population of other earthly inhabitants has more or less stayed the same (apart from the odd climate induced change). Yet humans have developed beyond a point where the climate...
  12. mattura

    The Big 3-0

    Well congrats. Seems like you've done a load of cool things. I want to be married and have a house by 30 certainly (do you own it outright? Or mortgage?), but the way things are looking financially, even that will be a challenge.
  13. mattura

    STUDENT - Javascript problem

    Also, I've never seen javascript that uses php variables! Goldy would have to explain how the code works, so the above code is probably not much use after all (but very neat -all credit to Nahid)
  14. mattura

    PHP Source Code

    "Posts:1" says a lot for me. webschool you will with experience learn to add the correct amount of detail to your post-questions, but we certainly need more than that!
  15. mattura

    Warez or no Warez?

    lol I guess it took a while to type! You too, good sir!
  16. mattura

    Need help- Will pay

    erm... $_POST["age"] three times?!!!
  17. mattura

    PHP / Maths problem

    Yep, the weighted average suggested by cerbere and quantum1 is the way to cut the corner (cos sometimes you can). To clarify quantum1's example here is another with more symbols ;): imagine rolls 1,5,3,4,2... (average 3) each time, you count how many rolls have occurred, and get the number of...
  18. mattura

    Encryption

    I use sha1 for database passwords. md5 is just too well known and hashed. But I always add a salt so that reverse hash tables are useless. You should be aware that some forms of encryption are illegal in the US (and some other countries), so do be careful ;) PS Isn't sha1 the same as 256?
  19. mattura

    learning AS3

    Do you know AS2 REALLY well? It's similar, just think more OO.
  20. mattura

    New to PHP and very confused...

    Or you can use: $html=<<<EOF <p>Hello $name. You are $age years old</p> <p>More html stuff with $variable</p> EOF; //this MUST be without indentation, first on the line As for indentation, everyone seems to do it differently, but if you just make your {} match, it really helps. This is how I...
Top