0

Can anybody help me to figure out the errors on php coding?

31st Dec 2017, 4:54 AM
Vasanth Kumar
Vasanth Kumar - avatar
5 Antworten
+ 5
Where is the sample code?
31st Dec 2017, 4:59 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 4
Did you try to end the session?
31st Dec 2017, 5:21 AM
Dapper Mink
Dapper Mink - avatar
+ 3
I don't mean to be mean but it might be hard for us to solve your errors without knowing about your code
31st Dec 2017, 4:57 AM
Dapper Mink
Dapper Mink - avatar
0
<?php session_start(); //line 2 ?> <!DOCTYPE> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Hostel Management System</title> <link href="templatemo_style.css" rel="stylesheet" type="text/css" /> <script language="javascript" type="text/javascript"> it keeps saying that function clearText(field) {     if (field.defaultValue == field.value) field.value = '';     else if (field.value == '') field.value = field.defaultValue; } </script> it keeps saying that "a session had already been started-ignoring session_start() on line 2"
31st Dec 2017, 5:05 AM
Vasanth Kumar
Vasanth Kumar - avatar
0
How to end the session?
31st Dec 2017, 5:22 AM
Vasanth Kumar
Vasanth Kumar - avatar