I am trying to now work out total time but it does not pass the total time in time foramat see code below how do i get the correct time returned??
$sql = "SELECT * FROM delivery WHERE Check_Employee_id ='$_POST[checkemployee]' AND Check_Date = '$date'";
$result = mysql_query($sql,$conn);
while...
Please can anyone help
See code below i am wanting to add up the number of lines as it works through the while loop any ideas would be greatly appreciated
$sql = "SELECT * FROM delivery WHERE Check_Employee_id ='$_POST[checkemployee]' AND Check_Date = '$date'";
$result =...
I'm a little stuck trying to insert some data to a record using UPDATE delivery SET ('Locater_ID=$_POST[delnum]', 'Locate_Date=$date'); but will not work for some reason have i got the syntax wrong?
Please help
I am trying use sessions yet keep getting the following error messages
Warning: session_start(): open(/tmp\sess_e75dfd4ede5aacd02e44387985af8a44, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 2
Warning: session_start(): Cannot...
See below my code now i can get the redirection to work using the header(location: url)
<?php
$user = addslashes($_POST['username']);
$pass = $_POST['password'];
$dbHost = "localhost";
$dbUser = "$user";
$dbPass = "$pass";
$dbDatabase = "goodsin";
if (empty($user) || empty($pass)) {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.