gibigbig Posted April 20, 2007 Share Posted April 20, 2007 <!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><script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <?php session_start(); ?> <!-- #Layer1 { position:absolute; this is the first ten lines Link to comment https://forums.phpfreaks.com/topic/47949-this-is-the-first-ten-lines/ Share on other sites More sharing options...
john010117 Posted April 22, 2007 Share Posted April 22, 2007 ...what's your question? Link to comment https://forums.phpfreaks.com/topic/47949-this-is-the-first-ten-lines/#findComment-234973 Share on other sites More sharing options...
Guest prozente Posted April 22, 2007 Share Posted April 22, 2007 He's probably wondering why he's getting an error. Put the PHP at the beginning of the file. Link to comment https://forums.phpfreaks.com/topic/47949-this-is-the-first-ten-lines/#findComment-234982 Share on other sites More sharing options...
V34 Posted April 22, 2007 Share Posted April 22, 2007 Well since it's HTML, I guess he doesn't need a <?php in the beginning.. Actually the only mistake I found is he's Rank/Position. (sorry if I'm wrong) Link to comment https://forums.phpfreaks.com/topic/47949-this-is-the-first-ten-lines/#findComment-234984 Share on other sites More sharing options...
Guest prozente Posted April 22, 2007 Share Posted April 22, 2007 He's trying to start a session after he's already output data, that's what I was referring to. Link to comment https://forums.phpfreaks.com/topic/47949-this-is-the-first-ten-lines/#findComment-234986 Share on other sites More sharing options...
V34 Posted April 22, 2007 Share Posted April 22, 2007 Would make sense, yes. Link to comment https://forums.phpfreaks.com/topic/47949-this-is-the-first-ten-lines/#findComment-234990 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.