-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
Me too - personally the whole bidding for work thing is a little too much hassle. Far prefer applying for work posted on here or waiting for someone to contact me.
-
You'll need to send the topic value through every link. Like this or something... <a href="nextpage.php?topic=<?php echo $_GET['topic']; ?>">...</a>
-
you don't "echo" out the image. Replace: header('Content-Type:' . ' $Type'); $FileFormat = str_replace($Search, $Replacement, $Type); $FileFormat = "image" . $FileFormat; echo $FileFormat($CompiledImage); imagedestroy($CompiledImage); With: header('Content-Type:' . ' $Type'); preg_match('/(png|jpeg|gif|bmp)/', $Type, $match); $function_name = 'image' . $match[1]; $function_name($im); imagedestroy($im); Not tested. An it's a little messy, there's a good possibility I'm making it more complex than it needs to be!
-
Untested... $source = __something__; preg_match_all('/<a href="lyrics\.php\?id=([\d]+)">([\w\s"\'-]+)<\/a>/i', $source, $link_matches); foreach ($link_matches as $key => $match) { $links[] = array( 'id' => $match[1], 'title' => $match[2], ); } By the way that will find link's with obscure names like.. "Artist's"_-_Name - though I doubt there is any!
-
How to put line break in this PHP code, and echo dollar signs
Adam replied to AKmiecik's topic in PHP Coding Help
Try... <?php echo "<td class=\"{$class1}\">"; echo $info["Descript1a"] . '<br />'; echo $info["Descript1b"] . '<br />'; echo $info["Descript1c"] . '<br />'; echo $info["Descript1d"] . '<br />'; ?> <!-- Col 2 --> Which 'descript' field do you mean? If it's (for example) 'Descript1a' you can use: echo str_replace('$', '& #36;', $info["Descript1a"]) . '<br />'; Or to apply to them all you could use something like: foreach ($info as $key => $val) { $info[$key] = str_replace('$', '& #36;', $val); } Edit: The html entities shouldn't have a space after the ampersand though! -
... Or just use PHP's md5 function?? $query = " INSERT into Users (lastname, firstname, email, user_type, username, password) VALUES('".$_POST['lname']."', '".$_POST['fname']."', '".$_POST['email']."', 'sell', '".$_POST['username']."', '".md5($_POST['password'])."') ";
-
Try... $query = " INSERT into Users (lastname, firstname, email, user_type, username, password) VALUES('".$_POST['lname']."', '".$_POST['fname']."', '".$_POST['email']."', 'sell', '".$_POST['username']."', md5('".$_POST['password']."')) ";
-
Looks to me like it's trying to change directory to the parent directory of the current / relative directory.
-
Debt Consolidation website, i need your feedback.
Adam replied to webdesigner1980's topic in Website Critique
It certainly seems like a template - the logo banner looks like an advert in comparison with the rest of the graphics. Personally I'm not actually that keen, it's a little all over the place. The mass of drop down menus and sub menus is confusing. The navigation is pretty poor to be honest, backed up by a not so clever search engine. Most of the "Apply now" links lead you to virtually the same form with just some minor differences. Could you not perhaps incorporate these into just 1 form? You could then use JavaScript to hide and show different fields depending upon what kind of application they were making. I think it could be a lot better to be honest, with some work... -
From a usage point of view, the 'do you want to register now?' pop up is annoying. Once I don't mind, but it's popping up all the time. Whilst searching for a room it pops up every time I go to a new search results page, and for some reason clicking a page number instead of 'next' brings it up, without loading the page...
-
I'm not massively keen. The colours are nice but the kind of bubble look really lets it down. Also the nav is way too small compared to everything else and shouldn't really be touching the big gallery thing below it...
-
I have a full time job so I don't depend upon the money brought in from freelancing work, so I enjoy the work a lot more. I don't make a massive amount of it right now to be honest but it's good experience in other areas, such as working to dead lines, building client relations, etc. And obviously it's something for the portfolio... I definitely find it worth while. Adam
-
I'm not overly keen - too many different patterns used! Especially the header in comparison with the main background, don't fit well together at all! The keyword stuffing at the bottom isn't very good either. Apart from that, not really a great deal to say - it's a forum. -Adam
-
Does look much better! It looks slightly odd though... there's layers in the logo then suddeny the nav is really flat. Perhaps if you could carry the pattern from the logo on into the nav, but perhaps using a contrasting colour or something? Or adding a more layered look to the nav... If you get me? -Adam
-
I would have thought they'd have to have declared that they can do that in the original licencse? Which I doubt they did...
-
Try the freelance board... -Adam
-
Hah .. grim news for MySQL i suspect!
-
It's okay, doesn't really catch my eye though... Certainly doesn't remind me of chess either. The color scheme is pretty decent though the default blue links don't particularly fit in my opinion. Your footer seems a little off center. There's no logo? Overall it's okay, just needs a bit of work. -Adam
-
Quite often can be kind of 'virtual' sub domains, I believe. -Adam
-
Just started designing another site, opinions would be nice!
Adam replied to ondi's topic in Website Critique
Definitely agree that it's too bland, I think the header is main reason to be honest... If you use Photoshop try adding some vibrance to it (Image > Adjustments > Vibrance). Adam -
I'm getting a 404!
-
It says it in the bottom corner, "Discuz", but website's chinese (I think).. http://www.discuz.net/
-
Sorry I've just tested it and it doesn't work. Says execCommand isn't a function ???