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 John Tel 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
  • 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

    ...v206 = -v202 -60; if ( v205 != 0 && v206 != 0 ) if ( Math.abs ( v205 ) < Math.abs ( v206 ) ) v206 = v206 / Math.abs ( v206 ) * Math.abs ( v205 ); else v205 = v205 / Math.abs ( v205 ) * Math.abs ( v206 ); v1771165726553906v190 += v205; v1771165726553906v191 +=...
  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

    Could you please give me an example, or a link to a really good example?
  5. 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?
  6. tshey

    Paypal Submission

    I finally figured it out, I simply did not have the $cnt incrementing. $cnt++ Thankyou so much for your time and patience, I know I must have been a pain! Thanks heaps!
  7. tshey

    Paypal Submission

    ...= mysql_fetch_array($result)) { if (!isset($cnt)) { $cnt =1;} // Increment the total cost of all items $totalCost += ($row["qty"] * $row["itemPrice"]); ?> should there be another while () added? I really do not know what the problem is, or how to find it? Sorry to be so...
  8. tshey

    Paypal Submission

    can I create two separate loops in one while loop
  9. tshey

    Paypal Submission

    No error appears at all. No I have no read about that. Will this help me figure out what is happening?
  10. tshey

    Paypal Submission

    ...                (if (!isset($cnt)) { $cnt =0;}                 // Increment the total cost of all items                 $totalCost += ($row["qty"] * $row["itemPrice"]);                 ?>                                <input type="hidden" name="quantity_<?php echo $cnt;?>" value="<?php echo...
  11. tshey

    Paypal Submission

    I have tried separating the cart and using the paypal coding as a separate form, but still nothing shows. What is this?
  12. tshey

    Paypal Submission

    The (if (!isset($cnt)) { $cnt =0;} seems to stop the cart from showing at all. Nothing appears
  13. tshey

    Paypal Submission

    ...$dbUser, $dbPass, $dbName); // Check if this 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) {...
  14. tshey

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

    what do mean when you say "the use of long names for superglobals is deprecated and will probably break your code in the not too distant future" What do you mean by break my code?
  15. 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...
  16. tshey

    Paypal Submission

    ...$dbUser, $dbPass, $dbName); // Check if this 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) {...
  17. tshey

    Looping through Cart

    You are a legend, and I envy your php ability to the max. but it still does not show in a browser. I have put it in dreamweaver and the <? tag at the paypal function doesn't seem to be active. does that make sense? I will continue to play, keep the ideas coming.
  18. tshey

    Looping through Cart

    Thankyou for your posts, I will play with it a bit, it does not seem to be showing at all in the browser. Any ideas?
  19. tshey

    Looping through Cart

    ...$dbUser, $dbPass, $dbName); // Check if this 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) {...
  20. 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...

Part and Inventory Search

Back
Top