0
Can anybody help me to figure out the errors on php coding?
5 odpowiedzi
+ 5
Where is the sample code?
+ 4
Did you try to end the session?
+ 3
I don't mean to be mean but it might be hard for us to solve your errors without knowing about your code
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"
0
How to end the session?