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 2 of 2

Thread: Coding Help

  1. #1
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Coding Help

    Hello there could anyone help me solve this coding problem i have been faced with? http://www.onlinetemplatemaker.com is a simple template generator atm, i currently have it supplying the code on the next page but on the next page i have a problem <title> ". $_SESSION["name"] . "</title> where it says
    ". $_SESSION["name"] . " its ment to display the previous info that was inputted on the last page but thats the problem can anyone help me... my code looks like this.. well part of it...

    Code:
    <form name="select"> <textarea id="testarea" rows="100" cols="400">'; 
    
    echo '
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title> ". $_SESSION["name"] . "</title>
    <style type="text/css">
    body {
    	background-image: url(http://www.onlinetemplatemaker.com/templates/images/template1.gif);
    	background-repeat: no-repeat;
    	background-position:top center;
    	font-family: Tahoma, Geneva, sans-serif;
    	font-weight: bold;
    	text-align: left;
    	color: #000;
    	background-color: #000;
    }
    #Font {
    	font-family: Tahoma, Geneva, sans-serif;
    	text-align: center;
    	color: #FFF;
    }
    #Mainmenu {
    	color: #FFF;
    }
    </style>
    </head>
     
    <body>
    <center> 
    <table width="900" border="0">
    <tbody>
    <tr>
    <td><b id="Font"><b>". $_SESSION["name"] . "</b></b></td>
    </tr>
    </tbody>
    </table>
    <table width="900" border="0">
    <tbody>
    <tr>
    <td valign="top" width="169" align="center" height="943"><b id="Mainmenu"><br />MainMenu</b><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /><a href="http://www.onlinetemplatemaker.com/">Visit OTM</a><br /></td>
    <td valign="top" width="715" align="left"><br />". $_SESSION["content"] . "</td>
    </tr>
    </tbody>
    </table>
    </center>
    <p>
    blahblahblah

    can anyone help me if you understand i have seemed to have just mumbled on.

  • #2
    Senior Coder
    Join Date
    Jul 2009
    Location
    South Yorkshire, England
    Posts
    2,318
    Thanks
    6
    Thanked 304 Times in 303 Posts
    Code:
    <title>'.$_SESSION['name'].'</title>


  •  

    Posting Permissions

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