Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2011
    Posts
    117
    Thanks
    27
    Thanked 0 Times in 0 Posts

    Lightbulb I am having a problem

    I am having a problem with pulling one of my java parameters. I am trying to pull one my mysql tables and it doesn't want to show at all. It is pissing me off, pardon my french.

    PHP Code:
    <applet name="DigiChat" 
    codebase="http://Host-Name/DigiChat/DigiClasses/"
    code="com.diginet.digichat.client.DigiChatApplet" 
    width="200" height="90" align="middle" archive="client.jar">
                            <PARAM NAME="MenuItem1" VALUE="GAMES 1">
                            <PARAM NAME="MenuLocation1" VALUE="http://digichat.info/games.html">
                            <PARAM NAME="MenuItem2" VALUE="GAMES 2">
                            <PARAM NAME="MenuLocation2" VALUE="http://www.digichat.info/games2.html">
                            <param name="siteID" value="<?php echo $_SESSION['SESS_SITE_ID']; ?>">
                <param NAME="Age" VALUE="<?php echo $_SESSION['SESS_AGE'];?>">
                <param NAME="realname" VALUE="<?php echo $_SESSION['SESS_REAL_NAME'];?>">
                <param NAME="nickname" VALUE="<?php echo $_SESSION['SESS_FIRST_NAME'];?>">
                <param name="url" value="<?php echo $_SESSION['SESS_URL']; ?>">
                <param name="exitmessage" value="<?php echo $_SESSION['SESS_EXIT_MESSAGE']; ?>">
                <param name="comments" value="<?php echo $_SESSION['SESS_COMMENTS']; ?>">
                <param name="gender" value="<?php echo $_SESSION['SESS_GENDER']; ?>">
                <param name="email" value="<?php echo $_SESSION['SESS_EMAIL'];?>">
                            <param name="cabbase" value="Client.cab">
                            <param name="background" value="ffffff">
                            <param name="textcolor" value="000000">
                            <param value="true" name="RoomsTab">
                            <param name="quickload" value="true">
                            <param name="signed" value="TRUE">
                            <param name="ports" value="7545,7546,7547,7548">
                          </applet>
    Ok, look you see how i have this parameter:

    PHP Code:
    <?php echo $_SESSION['SESS_SITE_ID']; ?>
    Well it show's the users site id when they pick it from a html drop down menu and it shows when they login their profile.

    But, on the other hand when you insert this inside the java applet:

    PHP Code:
    <param name="email" value="<?php echo $_SESSION['SESS_EMAIL'];?>
    When a user registers and inserts their email to the form. They register just fine and the email that they picked is inside the mysql database. But, it is being a ***** grabbing the email from the users profile inside the java applet.

    Is there another way i can pull the users email from my database? Also the gender parameter is doing the same thing.

    Any help?

    Regards,
    xxcorrosionxx

    Code:
    P.S: "I had all my problems solved so far since i been here. This forum is godly".

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,332
    Thanks
    60
    Thanked 526 Times in 513 Posts
    Blog Entries
    4
    It sounds like you're having a java problem in honesty and not a php one. This is a php forum i'm afraid so you might not get a lot of help..
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • Users who have thanked tangoforce for this post:

    xxcorrosionxx (05-21-2011)

  • #3
    Regular Coder
    Join Date
    Jan 2011
    Posts
    117
    Thanks
    27
    Thanked 0 Times in 0 Posts
    I mean is there another way to bring up a variable? Besides:

    PHP Code:
    <?php echo $_SESSION['SESS_EMAIL'];?>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •