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 Wanet Telecoms Ltd 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: degroat
  • Content: Threads
  • Order by date
  1. degroat

    Persistent connections

    I have a website that's getting it's ass kicked so I tried changing the DB connections to use mysql_pconnect instead of mysql_connect. After doing that, I started getting mysql errors left and right, all of which were claiming that a table didn't exist inside a certain database... basically it...
  2. degroat

    Another Quick CSS Question

    I'm trying to buy into this whole 'death to tables' concept but it's really annoying when something that should be simple isn't when you don't use tables.
  3. degroat

    Quick CSS Question

    I've got two divs right next to each other that have a different amount of content in them.... how do I get the div's to be the same height (so the background color of the shorter one carries down)?
  4. degroat

    Odd Characters....

    I recently moved a website and in doing so I used phpMyAdmin to export my DB. Unfortunately, when I exported it, it converted a bunch of characters into nonsense.... Here is an example: http://www.checkingline.com/2006/07/08/the-crappy-goaltenders-round-up/ I don't have access to the...
  5. degroat

    Replacing odd characters

    Can someone tell me how to do a string replace to convert the little diamonds with question marks in them into a regular apostrophe? These are what I'm talking about: http://www.degroat.net/pix/diamondqmarks.gif
  6. degroat

    Query Error (AES_ENCRYPT)

    I havae a user database set up where the passwords are encrypted using AES_ENCRYPT with the date the user joined being the salt for each user. The inserts work fine for the password, but for some reason I'm getting an error on this statement below when I try to update.... update users set...
  7. degroat

    Browser Issues

    Hi, I'm trying to adapt some existing code into something that I'm doing and I'm having some issues w/ the differences between IE and Firefox. Here's the URL in question: http://www.degroat.net/temp/nav.php Works great in Firefox. In IE, the links are lower and the div shows up too low...
  8. degroat

    Collation

    Can someone please tell me what I need to set my Collation to for a varchar field that's just uses normal english characters?
  9. degroat

    Totaling values from selects

    I'm not even sure where to start w/ this, so I guess I'll begin by explaining what I want to achieve... The page I need to create is for a fantasy hockey game. Users would use this page to select their 12 forwards, 6 defenseman, and two goaltenders. As they select their players, the total...
  10. degroat

    getimagesize

    Below are two different errors I am getting when using this fuction. The 2nd one obviously is because the image was not found. What would be the reason for the first one? Both times I have gotten that error, the image that it was looking for should have been found. Warning: getimagesize...
  11. degroat

    Image properties

    Is there a way in PHP (or Javascript, I guess) to determine the size of a graphic and then set the size depending on what the function returns? These images are not in a DB... so what I need to do is load it up in a page just like any other image, and then if the image is larger than a certain...
  12. degroat

    Filtering out duplicates

    Is there a way to do a select statement and have it filter out duplicates of a specified field.... i.e. a DB with two fields, ID and TITLE and only want to return one ID with a specified title name.
  13. degroat

    Forms

    I'm having some trouble with spacing around forms that I never really noticed before now. When I put a form into a page and view that page, the form adds a good amount of space below the form. When I take out the form, that space is gone. Also, I noticed that the same extra space is not there...
  14. degroat

    Storing Credit Card #'s

    I thought I was going to be able to avoid storing the #'s in the system that I'm developing, but it has turned out that that is not the case. So, can anyone point me in the right direction. The server we're using is not on location so (from what I've read) I know that causes some problems...
  15. degroat

    Problem with CREATE statement...

    Can someone please tell me what I am doing wrong here: create table order (oid int unsigned auto_increment primary key, bname varchar(25), baddr1 varchar(50), baddr2 varchar(50), bcity varchar(25), bstate char(2), bzip varchar(8), sname varchar(25), saddr1 varchar(50), saddr2 varchar(50), scity...
  16. degroat

    Formatting number output

    Can someone please point me in the direction to format the output of a decimal number to require 2 decimal points (for money).
  17. degroat

    Question about auto-increment numbers

    Here's what I'm trying to do... 1. Insert info into a table that has an ID# which increments automatically. 2. Get that ID# that was generated. Obviously, I can just run a select where I grab the highest ID#, but I'm concerned that there could be conflictions... I.E. Person 1 accesses page...
  18. degroat

    Breaking a string into seperate words

    Is there a function or an easy way to break down a string of words into individual characters. IE.. break down 'Humphrey Bogart' into 'Humphrey' & 'Bogart'
  19. degroat

    Dumping into a database

    Let me just start of saying that this is what I'm working with.... "NOS","20154","MOVIE POSTER","REPRINT","KING KONG",0.00,0.00,27.00,40.00,29.50,"king kong;movie","1" "NOS","25001","MOVIE...

Part and Inventory Search

Back
Top