Jump to content

9mileshq

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://9-miles.co.uk

Profile Information

  • Gender
    Not Telling

9mileshq's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm assuming you session_start(); at the top of the page you are re-entering?
  2. If it was to just open up a large picture you wouldn't need 'SQL commands' within the said window... although if it was a specific persons profile picture just to enlarge you could get the image from the database and just put it in the path: off the top of the head i can't remember exactly how to reference orange box but you would do this to get your picture (only as an example) $sql = 'SELECT image FROM profiles WHERE username "' . $_GET['userid'] . '"'; // userID would be in the query string in the URL // fetch the array from the SQL $row = mysql_fetch_array($sql); and this would be the html for the image tag to actually call in your own image from database... <img src="/path/images/<?= $row['image']; ?>" >
  3. A bit confused what your trying to do, or asking to do. Just from looking at your code what exactly are you trying to achieve in the function with: $this->_params['list'][] = $gallery; I presume this is a property within the class this function is? You don't need the [] bracket to start with, as 'list' would be the key and $gallery would be the value... Are you using a Framework? As you have defined an SQL statement, but not actually doing anything with it? If you could provide some more information with more code and say exactly what your trying to do, might be able to help.
  4. I think your after a lightbox type affect: http://orangebox.davidpaulhamilton.net/ This is a good one to use, you just have to put the path of the image into the link and it will open up... Hope that is of some help.
  5. Well if your getting an email through, somethings going right! But it looks like you aren't specifying any headers $headers = 'From:' . $to . '' . "\r\n" . 'Reply-To: ' . $to . '' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; mail($email, $subject, $message, $headers); I can that you are missing these above - try putting them into your script (obviously not exactly as they are, change the variables) and that should hopefully bring some content into them blank emails! any questions follow us on twitter and we will be happy to help www.twitter.com/9mileshq
×
×
  • 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.