I have this error message come up. I understand that it is the algorithm password, however I do not know what to change it too. I have a connections folder that states the connection between php and phpMysqlAdmin.
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"...
I have added this code in the <head></head> tags
<script type="text/javascript" language="JavaScript">var Type = 'Z';
function StartFloat() {
if(document.all) {
document.all.AdFloater.style.pixelLeft = document.body.clientWidth - document.all.AdFloater.offsetWidth...
I have a item_desc field within my items table. Can I enter a description but make each line automatically go to the next line and add a bullet in front of each line of text.
<?php echo $row_items["itemDesc"]; ?>
I know I have posted this question before. I have a cart that I need to pass the values to paypal. All the single values are passed, however when I have more than one product in my shopping cart it does not pass every product. It only passes the last one selected. Do I need to wrap a loop around...
Hi Everyone,
I have a cart operational, except when an item is added to the cart, its qty changed, it saved (to this point it all works fine) however when I click on continue shopping button it adds another item qty to the new item. Then I click on continue shopping for a second time and it...
Hi, I have set up my personal cart. I want the products selected to be itemised in paypal. All areas are being sent through to Paypal, the name, price and qty. However if there is more than one item, it only displays the last one put into the cart by the user. How do pass theses values to all...
I want to add a browse button where the user enters the filename to be inserted in the database. I have the upload area working, but need a more accurate way of adding the filename to the database. Can you add a browse button somehow to the filename text box? If not, what is another way I can...
I have a cart that has hidden fields that I want to pass to paypal. It is passing one variable at a time only. How do I fix this? Can I use a for loop, if so can I please have an example? The code is as follows
<form name="frmCart" method="get" action="https://www.paypal.com/cgi-bin/webscr">...
Hi all, I need to pass the data that has been selected in my cart to paypal through hidden form fields. The requirement from paypal are that each item must increment like input type="hidden" name="item_name1" value="item1"
I have my cart
<form name="frmCart" method="get">
<table...
I have created a cart, it works perfect on my mac, but when I test it on my pc it comes up with a warning:
Warning: session_start(): Cannot send session cookie-headers already sent by (cart.php)
Also another warning:
Warning: Cannot modify header information - headers already sent by (cart.php)...
How do I display dynamic data horizontally. I want to display a talbe 4 cells across and 7 cells down.
<table width="500" height="33" cellpadding="2" >
<?php do { ?>
<tr> <td> <a href="bags.php?bag_brand_id=<?php echo...
Hi Everyone,
I have an issue with processing a php form. The values seleted are suppose to correspond with the fields in an items table. There are 4 values that are passed as a form variable, but an error comes back: You have an error in your SQL syntax. Check the manual that corresponds to your...
I have this piece of code to check if an item already exists in the users cart table.
$result = mysql_query("select count(*) from cart where cookieId = '" . GetCartId() . "' and itemId = $itemId");
$row = mysql_fetch_row($result);
$numRows = $row[0];
if($numRows == 0)
{
However this...
I am passing two values through the url on selection through a dynamic form. However, it is only passing the first value. The selections are in drop down boxes, what am I missing?
<body>
<div id="findcleaner">
<div id="findhead">Find a Vacuum Cleaner </div>
<div id="findcontent">
<p>Please...
I have a form with an initial jump menu that dynamically populates the next two drop down boxes.On selection of the initial menu, the id is passed through the url.
I want one box not to show if the initial option domestic is chosen.
table is category, field name is category and cat_id the...
I have two dynamic drop down menus that contain two tables category and brand. I want to be able to select a value in each drop down menu and have the value passed through the url to select a specific item that corresponds to these two parameters. This is what I have for the page to be sent. It...
I have two tables store_items and store_categories. They both have a common field called cat_id. I have displayed the store_categories table and want when one category is selected for the id to be passed through the url and display the store_items table that correspond to the id.
<code> "SELECT...
Hi, I want to output a mysql table cutomers as xml.
What am I doing wrong. For this example i am using two fields.
<?php require_once('Connections/conn_members.php'); ?>
<?php
//this line selects all from the table customers
$result = mysql_query("SELECT * FROM customers");
// And now we need...
I have a page that displays products from a database. I have the functions for the cart on an external page. Products page as follows:
<?php
// Include MySQL class
require_once('inc/mysql.class.php');
// Include database connection
require_once('inc/global.inc.php');
// Include functions...
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.