Forum: PHP Sep 14th, 2007 |
| Replies: 16 Views: 3,452 Ajax isn't essential if your're using a PHP + GD system to actually generate images. That's how Gaia does it anyway.
Basically they have 1 file called avatar.php, and when you click an item,... |
Forum: PHP Sep 4th, 2007 |
| Replies: 16 Views: 3,452 Gaia uses a PHP based system. Basically they have thousands of images of items, and when you click the "items" it will add the particular image to your avatar, and when you save it outputs it as a... |
Forum: PHP Sep 4th, 2007 |
| Replies: 16 Views: 27,388 From first glance it looks like you've placed echo above the header location script.
Headers must be parsed before any HTML, and for some reason (Unknown by me, but I'm sure others can answer why)... |
Forum: Linux Servers and Apache Sep 4th, 2007 |
| Replies: 0 Views: 1,241 Hi there,
I was wondering if it was possible to set up some sort of condition so there are seperate error documents for normal files and images.
Basically I'd like it so if a png image was... |
Forum: PHP Jul 19th, 2007 |
| Replies: 5 Views: 3,188 You can look up AJAX, which is php functions executed on the fly by javascript.
That's probably what would work for you. |
Forum: PHP Jun 27th, 2007 |
| Replies: 7 Views: 4,487 To get a specific thing out of the array, you can use
$array = mysql_fetch_array($result);
$whatever = $array[columnname]
where $result is the executed query, and $columnname is the name of the... |
Forum: PHP May 6th, 2007 |
| Replies: 43 Views: 173,742 I always forget about the "or die..." thing.
Hopefully it should point out whether it was just a simple sql or connection problem. |
Forum: PHP May 1st, 2007 |
| Replies: 2 Views: 1,343 I'm not exactly sure. However, there is a way to get the query to say if there is an error with that.
if(!$result){die(mysql_query());} // This will halt the script and display the sql error if... |
Forum: PHP May 1st, 2007 |
| Replies: 43 Views: 173,742 For those who got a error with the num rows, I suggest you add the error dispaly for the sql error message.
if(!$result){die(mysql_error();}
Stick that below the query, it will give a... |
Forum: PHP Apr 17th, 2007 |
| Replies: 3 Views: 3,005 Which is why I said the form should be validated a second time using php.
He wants the user to be informed on the same page without the page reloading, and you do that with javascript.
If the... |
Forum: PHP Apr 17th, 2007 |
| Replies: 3 Views: 3,005 I would suggest using Javascript to validate the form, and then once the form has been sent validate it again using php.
Javascript validation is easy, just google for "Javascript Form Validation"... |
Forum: PHP Mar 3rd, 2007 |
| Replies: 8 Views: 4,598 Another idea is to also include a javascript validation. There are plenty of tutorials found through google. Just look up "Javascript Form Validation".
That way when the button is clicked, the... |
Forum: Monitors, Displays and Video Cards Mar 3rd, 2007 |
| Replies: 4 Views: 5,546 From another forum I was on the person said it happens to LCD screens. Does this happen to any other LCD screen? I don't have another, so I can't check. |
Forum: Monitors, Displays and Video Cards Mar 1st, 2007 |
| Replies: 4 Views: 5,546 It is an Acer Aspire 5100 running Windows XP.
I've tried updating the drivers, but it tells me there are no new updates avalible. |
Forum: PHP Feb 27th, 2007 |
| Replies: 13 Views: 2,764 Are you using similar IDs in each style sheet? Each element should have an id which sepearates it from everything else.
This is all I could think of at the moment. |
Forum: Monitors, Displays and Video Cards Feb 27th, 2007 |
| Replies: 4 Views: 5,546 Hi there
I've got an Acer Notebook (The exact model escapes me, but when I get home I will post it) running Windows XP.
Anyway, it runs great. The one thing I noticed is it has trouble with... |