Search results

  1. S

    Inserting MySQL data in HTML tables?

    Here's my situation: I have just recently implemented an upload form onto my website that allows users to browse and upload their photos to the site. So far, I have had little to no problems with it. Now I need to display the photos. I don't want to just display them in one large column (I...
  2. S

    PHP GD font type change?

    I have this: <? header ("Content-type: image/png"); $string = "my text goes here"; $font = 4; $width = ImageFontWidth($font)* strlen($string) ; $height = ImageFontHeight($font) ; $im = ImageCreateFrompng("./gold.png"); $x=imagesx($im)-$width ...
  3. S

    PHP: In a login system script, how and what makes it secure? (E.g. hashing)?

    -use a MySQL database to store information -make sure to use 'mysql_real_escape_string()' to prevent anybody trying to use SQL injection on you (that's if you're using a MySQL database). to insert that into code, when ever you have a form, lets say it sends it to blah.php. at blah.php, you...
  4. S

    Is JavaScript worth learning when you know PHP?

    I know HTML, CSS, and PHP (MySQL crap too) so is JavaScript worth learning? I kind of skipped over it and went straight to PHP. Should I go back and learn Javascript?
  5. S

    PHP: Putting a variable into an array?

    Is this possible? $a = array($variable); PHP won't let me do it so is there any other way? Am I doing something wrong? This little code is just to add together some MySQL database numbers. I've got the numbers ($variable) and now I'm trying to insert them into an array. PS: I already know...
Back
Top