HI Guys i got a PHP problem can u help me out

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

Post Reply
anthony100
Forum Commoner
Posts: 25
Joined: Sat Sep 09, 2006 11:00 am

HI Guys i got a PHP problem can u help me out

Post by anthony100 »

http://www.maximumwar.com/index.php

as u can see on the right hand side it kinda blue/grey.
here is the code well a link to it as i havent got a clue how to copy and paste it.


http://s37.photobucket.com/albums/e67/u ... h=imgAnch1

cheers Anthony
grrr didnt work just click on the UKCOIN sign on the left top and its the first image

cheers Anthony
Last edited by anthony100 on Tue Sep 12, 2006 5:34 pm, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

mmmmm huh?
anthony100
Forum Commoner
Posts: 25
Joined: Sat Sep 09, 2006 11:00 am

Post by anthony100 »

do u see the code on the photo bucket yet cheers anthony
EV0LUTION
Forum Newbie
Posts: 3
Joined: Tue Sep 12, 2006 5:16 pm

Post by EV0LUTION »

your photo bucket link goes to

This file no longer exists

and you need to center your stuff or change the background color
anthony100
Forum Commoner
Posts: 25
Joined: Sat Sep 09, 2006 11:00 am

Post by anthony100 »

anthony100
Forum Commoner
Posts: 25
Joined: Sat Sep 09, 2006 11:00 am

Post by anthony100 »

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Code: Select all

<?php
require('dblogon.php');
require('std_l.php');

// This user is deleting their account
if(isset($_GET['mdelete'])) {
	echo "<center><b>Account deleting...</b><br>Your account is now in the process of<br>\nbeing deleted.  Please ";
	echo "log back in soon if you<br>\nwant to cancel this action!</center>\n";
}
?>
<p><b>Welcome to <?=stripslashes($title);?></b></center><br>
Signup now to begin playing!</p>
<hr>
<center><a href="signup.php"><img src="img/signup.jpg" width="420px" height="125px" border="0" alt="Signup"></a></center><br>
<hr>
<?php require('std_r.php'); ?>

That is the code


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
User avatar
gkwhitworth
Forum Commoner
Posts: 85
Joined: Tue Sep 05, 2006 8:28 pm
Location: Wasilla, Alaska

Post by gkwhitworth »

Ok buddy....I think you need to work a little on your layout before you even mess with the php.

for instance in your stylesheet your body background color is #333333, when in reality you should just use the background image you are using everywhere:
background-image:URL('img/bg.jpg');

Also, you should make it so that your table fills 100 percent of the screen, so you don't end up with that gray color....what is happening, your table setting is for 100 percent but needs to be centered....so you probably should re-layout your design.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I don't think there is a PHP question in this thread. In fact, it sounds like a style question (given the only thing asked so far is if we see the gray background on the right hand side). That being said, if there is no PHP question asked in this thread within an hour, I am going to move it to Usability.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

To be utterly pedantic - there wasn't a question at all, until the OP's reply with "do you see the pic ... "
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Moved :arrow: to UI Design/Usability.
anthony100
Forum Commoner
Posts: 25
Joined: Sat Sep 09, 2006 11:00 am

Post by anthony100 »

sorry bout that my question was how do i move the background to cover the whole of the map.

as im very new to PHP i total havent got a clue.

but after a few cups of tea and staining my eyes i found out that i total completly gave you to wrong PHP code.
then i found the file i was looking for in it was a simple case of changing the width of the back to 100%.

but thanks guys anyways.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Glad you got it working. Next time, when asking a question, make sure to make it a clear question about what you are having challenges with or what you want to do.
anthony100
Forum Commoner
Posts: 25
Joined: Sat Sep 09, 2006 11:00 am

Post by anthony100 »

will do thx mate
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

anthony100, I would also suggest that once you have some code together you post some of it in the coding critique and/or security forum, or just look around in the security forum and study the threads there.

I can only see a snippet of code and I don't know in which context it's used exactly, but as it is there is no data validation or escaping at all. Usually that points to security risks. So you might want to check that out.
Post Reply