-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
Bad markup placing a <h2> within a <p>. You may not want to have h2 { color: red; } ... as if you have more than one <h2> it will change that as well. Give the h2 a class (ie. <h2 class="red">) then change the CSS to: .red { color: red; } Adam
-
Pass a parameter through the URL telling you what page / question to include. Then have the form from the quiz redirect to that page so you can progress through.. If that makes sense? Adam
-
Includes a statement..technically. Adam
-
you can use curly braces.. $query = "SELECT * FROM shownames WHERE `type` = '$type'"; $result = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_assoc($result)) { print '<option value="{$row['showname']}">{$row['showname']}</option>\r'; } Or just escape from the string like: print '<option value="' .$row['showname']. '">' .$row['showname']. '</option>\r'; Adam
-
Should be: else { include 'home/lvrcrcom/public_html/tests/' . $curPageName; } Adam
-
It's nice, though a little bland looking - doesn't look very eye catching. I'd round the bottom corners and I'd probs try and incorporate a larger version of that landscape picture into the actual design, subtly though... Just generally try and put some more detail into it, like the menu for example. Overall nice work though, much better than before! Adam
-
warning: requirement is some modification php.ini file
Adam replied to gagan22's topic in PHP Coding Help
Try placing this at the top of your script... ini_set('allow_call_time_pass_reference', true); Adam -
Ah well that's good news to me! Cheers! Adam
-
As web developers would you take the time to develop your own JavaScript code, perhaps even library, or would you use something like jQuery? In the past I've always dismissed the idea thinking it would make me look less of an able developer for using it... However after seeing some of the stuff it can do, so easily, perhaps I have it the wrong way round?? Adam
-
Ah yeah sorry, misread you. That is a good point actually. Might look better slightly more faded and behind the content?
-
I'm running 1280 x 1024 and I can see it all fine? The only thing I have to scroll down to see is the faded stenograph... Adam
-
Very nice, I like it a lot! In all honesty can't see anything I'd want to change... Out of curiosity though, where do you get your images from? Like the nice lady in the contact section, or the judge hammer thing? I'm not particularly good at designing but never have images like that to work from, which would really, really help... But yeah back to your design, perfect... Adam
-
Ctrl + Alt + S is 'save as' I believe.. What program is this in?? Adam
-
For each of the 3 problems, look for use of the "mysql_query()" function and add: or die(mysql_error()); ... to the end. For example: $result=mysql_query($sql) or die(mysql_error()); This will output an error message for each which should help you to identify the problem. Adam
-
I'm not keen! Not smooth and sleek like I'd expect from this kind of software. How much does it actually cost, without spending $25 at GameServer.com?? Getting: Fatal error: Call to undefined function: check_email_address() in /home/publicwa/clan-system.com/contact.php on line 24 .. on the contact page after I send an email. Also you just have ClanSystem in the title on that page. Why not have two versions of the image? One sized down smaller so you can provide a link within the website and another at full size? Err? A roster is just a list of members / players within the clan. Yes. Clans have sponsors. As ionik said, don't take it personally but I certainly wouldn't go for this software. Adam
-
I do like the design though a little too spacious in certain areas. The colours work well I think. The 3 customer testimonials i agree isn't necessary, perhaps just turn it into 1 or add something else - maybe most recent blog post or something? Needs a footer! I'm not keen on the left and right arrows next to featured project, think they look a little tacky and amateurish. All I can think of! Generally though it looks like a nice design! Get it coded! Adam
-
If you have a field which has an auto_incrementing value, you could use something like: DELETE FROM table_name ORDER BY field_name ASC LIMIT 1; This may well work in other situations but I've not tested! Also it doesn't necessarily need to be an auto_incrementing field, just an ASCending (or DESCending) pattern that you can rely on to be in order of old to new (or new to old). Adam
-
Image upload and resize at the same time as entering data into database
Adam replied to joshgarrod's topic in PHP Coding Help
Tutorial on how to upload files/images with PHP: http://www.tizag.com/phpT/fileupload.php For scripts you can modify: http://www.google.co.uk/search?q=php+resize+image+script : Remember to Google it first! Adam -
Try.. $vtest = eval($vpage); echo $vtest; Are there any errors returned from the eval() function? Adam
-
What exactly is wrong? DOM elements in JavaScript do not contain dashes, the next word is capitalized. So background-color is actually backgroundColor. Also just to add, you could do all this from one single function. You're going the extra long way around... Adam
-
JavaScript wouldn't be the best solution - if a solution at all. You'd need to use PHP.. Have each link on the image point to a page like: click.php?img=12345 .. With 12345 being the image id. Setup a database to hold the data for each image, including image id, url, clicks, etc. When they go to click.php you take the input ID, update the database table for that image, increasing the "click" value by 1. Then redirect to the image URL.. If you want somebody to do all this for you, you may be better posting in the freelance forum.. A
-
Hmm.. I have to disagree. Why does somethig have to be big? If it looks good, easily readable, content's set out well; why does it have to fill the screen? I see thin websites as a kind of style. My portfolio uses a thin style... His audience isn't a group of web designers, likely to have a large monitor. It's going to be the average joe at home with his 1024 x 768 or 1280 x 800 monitor after a personal website. Perhaps later on moving onto small companies, but still the companies not gunna equip their staff with hig spec montiors for them to just run Office off. One of the most important rules of web design is to think about your audience, which a lot of so-called designers seem to forget. However, I do think there are improvements that can be made. The line of dashes doesn't look good; looks like you ran out of ideas to fill the space up and just randomlly inserted that. I don't like the centered text, try justifying it. I think a white background for the wrapper would look better, then having the current colour still as the page background colour? Few other ideas if you're willing to listen... Mr A
-
In the 'header' of your script? Modify the headers so the browser knows to force the download of the file rather than just display the contents fetched from cURL. Can't tell you specifically to your script seen as you've not shown any code... Mr.A
-
I don't have time to rewrite this now but I'll help you while I'm at work tomorow... Mr.A