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...
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.
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)?
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...
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
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...
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...
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...
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...
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...
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.
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...
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...
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...
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'
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...
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.