For a query that results in only one entry(row), how reference differ fields ? problem second fixed-no definition of 'cat' var. well please tell me for first error ?
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/p/o/l/polisch123/html/customeradmin/booking-review.php:7) in /home/content/p/o/l/polisch123/html/customeradmin/booking-review.php on line 725
may have two or more session_start(); ?
Also a new problem from the quote you get [on the left] of http://www.poliscarhire.com/
to the mysql repeat region, repeat buttons 2-6 do not work[js] the other 1, 7-16 buttons work properly, why this error ? is not a repeat ?
----------------------------------------------
line 7: I do not think this is the problem ?
Code:
<link rel="shortcut icon" href="favicon.ico" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Booking Review prior Sent</title>
line 7:<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style1 {font-weight: bold}
-->
</style>
<!-- InstanceEndEditable -->
Code:
<?php $_SESSION['cat']=$_POST['cat'];
$cat = $_SESSION['cat'];
?>....
........
<?php
// --------------------------------------------------------------------------------
include("../dbinfo.php");
$linkid = mysql_connect($hostname,$username,$password);
@mysql_select_db($database) or die( "Unable to select database"); // @
// Base query
$query ='';
$query = "SELECT * FROM $CarsTable WHERE cat='$cat'";
$result = @mysql_query($query,$linkid);
$model = mysql_result($result,0,"model");
$type = mysql_result($result,0,"type");
$transm = mysql_result($result,0,"transm");
$cc = mysql_result($result,0,"cc");
$fuel = mysql_result($result,0,"fuel");
$doors = mysql_result($result,0,"doors");
$people = mysql_result($result,0,"people");
$suitcases = mysql_result($result,0,"suitcases");
$description = mysql_result($result,0,"description");
$availability = mysql_result($result,0,"availability");
$img_small = mysql_result($result,0,"img_small");
$img_big = mysql_result($result,0,"img_big");
$special_offer = mysql_result($result,0,"special_offer");
$discount = mysql_result($result,0,"discount");
$notes = mysql_result($result,0,"notes");
?>
Bookmarks