Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
php x 30
Member Avatar for Imratzio

Hi guys, I have a shopping cart finished for my site but I do not know how to make checkout function that will link to my cart.php I will show u my codes [B]index2.php[/B] [CODE]<?php session_start(); include_once'../config.php'; include_once'../_header.php'; if(isset($_GET['page']))//get info from a get variable inside url { $pages = array("products", …

Member Avatar for Imratzio
0
171
Member Avatar for Imratzio

I created a admin page for adding editing and deleting items for making a e commerce site. Adding items is fine but can't seem to delete them. It does not show an error but I included a print_r($sql); and prints an error [CODE]<?php session_start();//works with session cookies, helps have persistant …

Member Avatar for Imratzio
0
2K
Member Avatar for Imratzio

Hey everyone I was hoping if you can help me fix errors on a admin login form im using. Heres the code [CODE]<?php session_start();//works with session cookies, helps have persistant data i.e. if user is not logged in there will be no session variable if(isset($_SESSION["manager"])){//if it does not set session …

Member Avatar for Imratzio
0
223
Member Avatar for Imratzio

Hi all. Im building a shopping cart using an online tutorial in youtube, but i have an error [CODE]<?php if(isset($_GET['action']) && $_GET['action'] == "add"){ $id = intval($_GET['id']); if(isset($_SESSION['cart'][$id])){ $_SESSION['cart'][$id]['quantity']++; } else{ $sql2 = "SELECT * FROM products WHERE id_products=$id"; $query2 = mysql_query($sql2); if(mysql_num_rows($query2) != 0){ $row2 = mysql_fetch_array($query2); $_SESSION['cart'][$row2['id_products']] = …

Member Avatar for Imratzio
0
244
Member Avatar for Imratzio

Hi all, I have an error that once user has submitted information the header could not enter information. [CODE]Warning: Cannot modify header information - headers already sent by (output started at F:\root\xampplite\htdocs\fyp\top.php:62) in F:\root\xampplite\htdocs\fyp\login.php on line 219[/CODE] Heres my code [CODE]session_start(); include_once'top.php'; include_once "config.php"; //include_once "html.php"; switch (@$_POST['do']) { case …

Member Avatar for Imratzio
0
117
Member Avatar for Imratzio

I have already completed a form registry and works!!. Well nearly I have an error which displays this [CODE]Warning: extract() expects parameter 1 to be array, null given [/CODE] Heres the code [CODE]<?php /* Program: Login.php * Desc: Login program for the Members Only section of * the pet store. …

Member Avatar for Imratzio
0
130
Member Avatar for Imratzio

Hi all, I have finished my php for dummis book and have few errors that I could not fix. I show u my first example. [CODE]<?php /* Program: showpets.php Description: Displays all the pets in a category. Category is passed in a variable from a form. The Information for each …

Member Avatar for Imratzio
0
135
Member Avatar for Imratzio

Hi all :), im towards the end of the php for dummies book and it telling me how to build a e-commece style pet Catalog. I show the code [CODE]<?php /* Program: addpet.php Description: adds new pet to the databse. A confirmation page is sent to the user. */ if(@$_POST['newbutton'] …

Member Avatar for Imratzio
0
150
Member Avatar for Imratzio

Hi Im new to this forum and new to php and currently working on a php for dummies book for my project I need to by March. I show you the problems [CODE]<?php /* Program name: displayForm * Descrption: Script displays a form that asks for * the customer phone …

Member Avatar for Imratzio
0
280
Member Avatar for Imratzio

Hi all :), at the moment im programming a drop down list of a petstore and going through chapters from the php my dummies book. I show you my example. [CODE]<?php // Program name: buildselect.php // Description: Program builds a selection list from databse require_once("config.php"); $query = "SELECT DISTINCT * …

Member Avatar for Imratzio
0
82