Jump to content

madsobelcph

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by madsobelcph

  1. Hi guys. Im making a script that stores different contents in sessions. And everything seems to be working fine. I previously had some problems with it, but managed to fix them. Now somehow a new problem have accrued for me. I did not do anything to it since it last worked. So i am a little confused. It keeps telling me that the session does not have any content. I think that the problem is within these two files here: http://pastebin.com/T6sfzjWn and http://pastebin.com/BUAuFp6t It keeps giving me the error on line 24 from the second file. Can someone please help me and say what i am doing wrong?
  2. Well i think the problem is in the following lines: $r=mysql_query("select * from product where suspend='No' and prod_id=$_SESSION[product]"); $product=mysql_fetch_array($r); and <img src="http://artemisinvest.dk/anpo/proimgs/th/'.$_SESSION['product'].'" width="139" height="184" /> However, i does not get an error message. It just dosen't show up. Could it be something with that i use the same varible in a another file?
  3. Dosen't anyone know? I would be very thankfull if someone knew what was wrong
  4. I expect it to print the filename of the image stated in the database. And nothing happens. I does not get the filename. Although i use the exact same piece of code on a different page, and it works just fine.
  5. Hi guys. This is my first post here, so excuse me if i am posting this in the wrong forums. I am making a website, and having a huge problem. The script is used for orders of different services. And i am using sessions to store the information through serveral pages. But my problem is that on my final page, where the script sends an email with i can not get it to view the contents of one session. I am using the same session on a different page and it works like a charm. When i try debugging the session it won't print the contents, so i am guessing something is very wrong? My code of the page is bellow, let me know if you need anything else: http://pastebin.com/YHh3bGWS Please help me
×
×
  • 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.