
bouriche
Members-
Posts
14 -
Joined
-
Last visited
Everything posted by bouriche
-
i have this prolem that it shows and i don't know the reason, in the localhost sessions work well but in the hosting server it show this message: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at F:\Inetpub....\index.php on line 3
-
yea it is but i don't need a tutorial just i need to know the way to do that if i know the idea and the way i will do it myself, thank you by the way i have this problem can you help me in that: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at F:\Inetpub...\index.php on line 3
-
thank you sir thats helped me a lot all the best if you want to contact me here is my facebook: https://www.facebook.com/abdenour.abdoun and my email: [email protected]
-
thank you for helping me here is my code i need help in quantity of products in shopping cart: </tr> <?php $total = 0; global $con; $ip = getIp(); $sel_price = "select * from cart where ip_add='$ip'"; $run_price = mysqli_query($con, $sel_price); while ($p_price=mysqli_fetch_array($run_price)) { $pro_id = $p_price['p_id']; $pro_price = "select * from products where product_id='$pro_id'"; $run_pro_price = mysqli_query($con, $pro_price); while ($pp_price=mysqli_fetch_array($run_pro_price)) { $product_price = array($pp_price['product_price']); $product_title = $pp_price['product_title']; $product_image = $pp_price['product_image']; $single_price = $pp_price['product_price']; $values = array_sum($product_price); $total += $values; ?> <tr> <td><input type="checkbox" name="remove[]" value="<?php echo $pro_id ?>"></td> <td style="color:#222;"><?php echo "<a style='color:#222;text-decoration:none;' href='details.php?pro_id=$pro_id'> $product_title <br><img src='admin_area/product_images/$product_image' width='50'></a>" ?> </td> <td><input type="text" size="2" name="qty" value=""></td> <?php if (isset($_POST['update_cart'])) { $qty = $_POST['qty']; $update_qty = "update cart set qty='$qty'"; $run_qty = mysqli_query($con, $update_qty); $total = $total*$qty; } ?> <td style="color:green;"><?php echo "$" . $single_price; ?></td> </tr> <?php } } ?> <tr> <td style="background:white;border:none;"></td> <td style="background:white;border:none;"></td> <td><b> Total : </b></td> <td style="color:green;padding:5px;"><?php echo "$" . $total ?></td> </tr>