Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: tshey
  • Content: Threads
  • Order by date
  1. tshey

    Warning: mysql_pconnect(): Client does not support authentication prot

    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"...
  2. tshey

    Banner does not float over site: sits to right side of css layout

    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...
  3. tshey

    Creating automatic bulleted single line breaks from one mysql field

    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"]; ?>
  4. tshey

    Displaying dynamic data as bulleted list

    I have a mysql database table field set to text. I want to be able to display each line in this field as a bulleted list. Is this possible?
  5. tshey

    Paypal Submission

    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...
  6. tshey

    When click continue shopping it adds a item to Cart??

    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...
  7. tshey

    Paypal Submission

    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...
  8. tshey

    Adding filename to database as text

    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...
  9. tshey

    Looping through Cart

    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">...
  10. tshey

    connecting cart to paypal?

    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...
  11. tshey

    session_start() problem

    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)...
  12. tshey

    Display dynamic data horizontally

    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...
  13. tshey

    Error in sql Syntax

    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...
  14. tshey

    Error: $row = mysql_fetch_row($result);

    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...
  15. tshey

    Submitting form dynamic values

    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...
  16. tshey

    Show if url parameter =

    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...
  17. tshey

    Dynamic Drop Down Menu

    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...
  18. tshey

    Joining 2 table + passing url

    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...
  19. tshey

    Display dynamic Data as XML

    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...
  20. tshey

    showCart() not working

    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...

Part and Inventory Search

Back
Top