-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
Think it may be broken. When I click the link in the password retrieval email I'm just taken to the two "i forgot my password" / "i forgot my email" links, with no option to reset password.
-
Looks like they purchased it from www.projectseven.com: This one I think.
-
Where did you read that? I believe you're thinking of set_time_limit there; that resets the counter back to 0 when called.
-
Guessing PHP with login taken to "login.php"... And Dreamweaver for the design? Looks alright. Bit rough around the edges in certain places, like the EuroGangster logo in the top left of the login page. Also the registration form looks odd vertically aligned at the bottom. First part that confused me though as it's called "EuroGangster", why's Cuba, Russia, Australia and the US on the country list? Also the recruiter input, what's that for? On the main game, again the logo looks quite rough and stretched. The black content area wrapped in white doesn't seem to fit well. The game seems very generic, in that it just seems like any other mafia browser game. The re-used content boxes again and again, the same layout... Nothing unique. Not a bad effort at all but, I'd try to find something different you can offer users.
-
You can display the date like that with: <?php echo date("d/m/Y", strtotime($user_date)); ?> Obviously replacing $user_date with the right var.
-
Indeed, however that's aimed at regular members, was meaning the staff who post tutorials. I wouldn't necessarily agree with that, but I see what you're saying. I only really asked out of curiosity. Would it be (officially or morally) wrong to re-use the tutorial in their own personal website, or something of that nature?
-
When you guys (the staff) write tutorials and publish on PHPFreaks, are you (officially or unofficially) signing over all usage rights to PHPFreaks?
-
I'm guessing once converted to HTML it would be centered and trimmed on smaller res monitors? I think it looks good, not much I'd change really. The only thing I'm not sure about is the designs in the background, they're quite distracting. Think it's because they're too detailed, but they're also blury, so it's like a blury.. detailed.. distraction. Doesn't always go down smooth! The wooden background would look better in my opinion.
-
The center content looks overly spacious in comparison to the outer content, which seems completely lost. Add in some margins, give it all room to breathe. The banner looks amateur - perhaps following a tutorial might allow you to create something a little better, detailed, and/or artistic? The color scheme really lacks any energy or character. There's nothing unique or rememberable about the whole site to be honest, nothing that would leave an impression. The URLs really need making "SEO friendly". The small, un-explained envelope in the right corner opens a very rough looking 'tell a friend' form that has no submit method. Apart from lists of games there's barely any text. No 'about' text or anything. You're missing out on a good opportunity to add some keyword rich content in for search engines. The bookmark links in the top left are pointless - if people want to bookmark your page they'll do it exactly how they'd normally do it. I'm not going to even touch on the fact that it's a table-based layout. Not trying to be harsh, take it constructively.
-
Sounds like you may have magic quotes turned on. What does get_magic_quotes_gpc return? -- thorpe beat me too it, kinda. I think your best bet would be to disable, if it is enabled, it to be honest.
-
$search = stripslashes($search); I'd suggest reading up on magic quotes as it looks like you're trying to implement code using this deprecated feature. You should be applying mysql_real_escape_string to secure your input strings instead. At the moment you're $search variable is open to SQL injection; even if magic quotes is turned on you're actually removing the slashes it adds to prevent against SQL attacks.
-
Sounds like some kind o' sorcery!
-
Tested briefly in IE6, FF3.5 and Safari. No noticeable differences except for IE6 lacking PNG transparency -- why not drop IE6 support anyway though? Initial thoughts... The search bar looks quite blury in comparison to the rest of the site. The drop down under profile shouldn't have a delay (by then the user may have already clicked). Pre-load the nav hover images as there's a delay the first time round. When viewing a "spot" the address details and rating seem really compressed - the address is less-important [at first] than the name, user rating, etc. I'd make them parts more eye-catching. Also 147 characters seems awfully short to leave what could be a detailed review of a "spot" - only hurting your own SEO there. I think you could be on to a good thing, just a little basic right now. Also FYI Europe's home to some of the biggest binge drinkers in the world , so you may be loosing out restricting it to just the US!
-
Perhaps use a color scheme generator to help you? My preferred generator is Adobe's kuler.
-
Not bad. Few ideas for improvements: - The rectangle cutting through the "Zwengel" text in the logo looks wrong IMO - the rounded corners within a squared container also looks wrong - I'd add more styling to the font you are using, it just looks too bare and basic - the font size changing on your sub-menus as you hover over a link makes it awkward to move between them - the color scheme just doesn't seem to flow - the centered main text on the home page should be left aligned
-
Second that. Really though just taking some time off doing anything helps get my head clearer.
-
Here's your problem:
-
Sorry, didn't spot "PHP" in the title. No, strictly not. PHP isn't event driven like JS - although you could use AJAX to achieve this.
-
You mean as the form is submitted? .. <form onsubmit="myfunction();">
-
Need help pulling data from database (MySQL and PHP)
Adam replied to TeamCIT's topic in PHP Coding Help
No you can't have a WHERE clause within an INSERT, what would you be checking against? Try this: $update = mysql_query(" update destinations set selected=1 where id={$destChose} "); -
Need help pulling data from database (MySQL and PHP)
Adam replied to TeamCIT's topic in PHP Coding Help
Maybe wrong, but I don't see an UPDATE statement in your code, just an INSERT...? Plus you have a WHERE clause within that INSERT.. -
Need help pulling data from database (MySQL and PHP)
Adam replied to TeamCIT's topic in PHP Coding Help
Not integers, and most likely the `ID` is an integer in this case. Though the curly braces shouldn't have been around the 1. If this doesn't fix the problem post the actual error message.