User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,990 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,753 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 16 of 16
Search took 0.01 seconds.
Posts Made By: WhiteLeo
Forum: PHP Sep 14th, 2007
Replies: 11
Views: 1,573
Posted By WhiteLeo
Re: I need help with an avatar system

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: 11
Views: 1,573
Posted By WhiteLeo
Re: I need help with an avatar system

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: 7
Views: 5,041
Posted By WhiteLeo
Re: PHP Warning: Cannot modify header information - headers already sent by (output .

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: 824
Posted By WhiteLeo
.htaccess and Error Documents

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 called...
Forum: PHP Jul 19th, 2007
Replies: 5
Views: 792
Posted By WhiteLeo
Re: php in <head>

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: 2,224
Posted By WhiteLeo
Re: retrieving a single cell of data from a MySQL database

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: 102,818
Posted By WhiteLeo
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

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: 779
Posted By WhiteLeo
Re: Undifined Index in PHP code

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 the...
Forum: PHP May 1st, 2007
Replies: 43
Views: 102,818
Posted By WhiteLeo
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

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 specific...
Forum: PHP Apr 17th, 2007
Replies: 3
Views: 1,601
Posted By WhiteLeo
Re: PHP Quote form

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 user...
Forum: PHP Apr 17th, 2007
Replies: 3
Views: 1,601
Posted By WhiteLeo
Re: PHP Quote form

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 2nd, 2007
Replies: 8
Views: 2,777
Posted By WhiteLeo
Re: User Form error checking

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 form...
Forum: Monitors, Displays and Video Cards Mar 2nd, 2007
Replies: 4
Views: 3,042
Posted By WhiteLeo
Re: Acer Laptop Graphics Problem

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: 3,042
Posted By WhiteLeo
Re: Acer Laptop Graphics Problem

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: 1,894
Posted By WhiteLeo
Re: Manage Styles...

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: 3,042
Posted By WhiteLeo
Help Acer Laptop Graphics Problem

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...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 8:46 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC