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...
Okay... I didn't mean to submit the lats post, here is the question that the thread was supposed to be about....
I'm trying to set up my three columns and I want the background color of the "main" div to carry down behind the divs that are inside of the "main" div. But, I guess because I'm...
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...
Sponge,
If you're wanting to move the file to a different server once it is uploaded then I suggest simply using PHP's ftp functions to move it after it's uploaded.
- degroat
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...
What you can do is create a file... say email_content.html... and then open the file in your script...
$body = file_get_contents("email_content.html");
After banging my head on a brick wall numerous times, I figured out the problem... the reason why file_exists was finding the file was because the file technically did exist... but the file was 0 bytes... so it didn't load up.
The problem only occurs when the images don't exist... file_exists returns TRUE when it should return FALSE.
What I need to do is limit the size of the image if it larger than a certain size. So, to do that I'm using what you showed me before... getimagesize. But, if that doesn't find the...
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.