Recent content by josephman1988

  1. J

    Buying a license for Microsoft office 2007 for a business?

    Basically, I need to purchase the Microsoft office package, however, they are going to be distributed across ALL computer. Meaning they will be installed on at least 28 computers. How would I go about getting the best cost effective license package or what. I've never purchased a package for...
  2. J

    Keep image aspect ration with PHP?

    So basically I want the aspect ratio of an uploaded image that has over 700px width scaled down do 700, no its easy enough to resize the width, but, as i want to keep the aspect ratio of the image, i need to find out how to calculate this and resize the image accordingly. Hope someone an help.
  3. J

    PHP outputting HTML on the source code with no breaks?

    I'm starting to do OOP, but when i print strings like: print '<head>'; print '<meta blablahblah>'; print '<title>'; etc, the outputted html on the source code has no breaks, no newlines, every-things just sat next to each other. How can I fix this?
  4. J

    Using PHP in Javascript, is there any easy ways?

    Hi guys, I've got an external javascript file that the webmaster would have to edit to add 'events' to a mini calendar, however, I have an event form in the admin cp that will send info to a database, and i want to grab the data, and insert the information into the javascript (using a while...
  5. J

    How do 'you' create a PHP page?

    Basically I want to know how other people programme in PHP. Because what I do is start off with a HTML page, then incorporated PHP into it. Whether its writing code straight in, or including pure PHP scripts. Is this the proper way to code in?
Back
Top