mattster 195 Practically a Master Poster Featured Poster

the ?

mattster 195 Practically a Master Poster Featured Poster

Nothing worse than bad grammar, simply just makes the person look like an idiot. My Mum always used to stop us and make me and my brothers say everything again if we couldn't word things properly. I wish parents could take that up again!

mattster 195 Practically a Master Poster Featured Poster

never heard of him before.

Nor had I until one day it was on the radio and have been obsessed ever since!

James Blunt's Bonfire Heart is also a great song, same sort of style.

mattster 195 Practically a Master Poster Featured Poster

Welcome, nice intro aha ;)

mattster 195 Practically a Master Poster Featured Poster

Hi there, welcome! Hopefully you'll find lots here and theres a great community of people to get to know!

mattster 195 Practically a Master Poster Featured Poster

Welcome! Wow, what sort of things do you have shares in? :)

mattster 195 Practically a Master Poster Featured Poster

Have you tried @hericles suggestion? What did it say?

I completely agree, this problem is caused by an SQL error, not PHP. Please tell us what you've done to rectify that so we can attempt to help you.

mattster 195 Practically a Master Poster Featured Poster

I have a solution:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /home.php?view=$1 [L]
</IfModule>
mattster 195 Practically a Master Poster Featured Poster

^ and put all of that repeated code into functions:

function validate($var){
    $clean = strip_tags($var);  
    $clean = mysql_real_escape_string($clean); 
    return $clean;
}

And if it says answer3 undefined, it probably means there is no answer3 field being submitted to the page, so I'd start by checking that!!

mattster 195 Practically a Master Poster Featured Poster

Are you sure your while loop is working then?

Try testing this and check the result:

while(...){
    echo "testing";
    echo $var['id'];
}

And try this too: `mysql_query(...) or die(mysql_error())

What you have is a hidden problem and you need to test every possible thing to indentify a cause.

mattster 195 Practically a Master Poster Featured Poster

Dear All,

This must be a very common problem, but yet nowhere on the internet wishes to display a working answer. I am in a sticky situation.

I have the following .htaccess file on my local webserver:

http://localhost/testsite/.htaccess

DirectoryIndex home.php?view=home

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ home.php?view=$1 [QSA,L]

ErrorDocument 404 /home.php?view=404

I now upload this file to http://domain.com/.htaccess and it simply will not work (404 errors). The URLs are meant to work like this:

http://domain.com/gallery
transforms server side to
http://domain.com/home.php?view=gallery

Please could someone suggest where my code may be going wrong and why?

Thanks so much!

mattster 195 Practically a Master Poster Featured Poster

Okay, big change, I now absolutely love Avicii's Hey Brother!!

Its a great fusion of american bluegrass and modern pop, please everyone give this a listen!!

mattster 195 Practically a Master Poster Featured Poster

Hi there,

What you're talking about is something called responsive design. It is usually done by placing your content into a grid system.

Take a look at Pure. (Include links here)

It explains here how things work in detail, but simply, arrange your code like this:

<div class="pure-g-r">

    <div class="pure-u-1-3"> ... </div> <!-- 1-3 means 1/3 (one third) -->
    <div class="pure-u-1-3"> ... </div>
    <div class="pure-u-1-3"> ... </div>

</div>

If you wanted two columns, you would use 2 divs with the class pure-u-1-2 (1-2 means 1/2 - one half)

Hope this helps, any problems let me know :)

mattster 195 Practically a Master Poster Featured Poster

This post should be in the 'website review' section.

But as you're here, I'll just say that you have a simple grounding for what looks like a very simple theme. Try styling your forms and buttons to give some flavour to your page. Maybe something like Bootstrap?

mattster 195 Practically a Master Poster Featured Poster

Visual Studio 2013 and Dreamweaver CS6 work incredibly, so I'm just agreeing with everyone else.

If you are having doubts about this, are you thinking of using a completely new editor that isn't a giant? Any particular reason why not - such as you don't like the feel or they're missing specific features?

mattster 195 Practically a Master Poster Featured Poster

Wordpress is an amazing tool (no question), but however it is really designed for content management, like simple sites or blogs etc.

It can be configured to manage something like this, but only by way of a plugin. Maybe look at something like this: Click Here

To write it in PHP would make it more specialised to you needs, but would take MUCH longer and would cost MUCH more!!!

If I was you I'd try to get wordpress to work first, maybe tampering with a few plugins :)

Hope this helps

mattster 195 Practically a Master Poster Featured Poster

The idea that it says 'Loading' suggests the script has installed and is working, but is either having problems locating the extra articles to display or the script is crashing because of glitches.

If they havent provided anything in the admin panel to report this, it would take ages to look at it this way.

Try focusing on the way the script is run, i.e. use your browsers webpage inspector to see if the script throws up any errors. My guess is that this will be fixed with a simple operation, so that would be the best way to detect it.

mattster 195 Practically a Master Poster Featured Poster

So to clarify, you want a script that will deliberately send spammed emails to your account, in the hope of identifying any problems?

Personally, I would suggest something like reCaptcha, this is run by Google so you can be rest assured it will stop the vast majority of spammers.

If you continue to get spammed emails after installing this, I think you have a much more serious issue.

mattster 195 Practically a Master Poster Featured Poster

Hi All,

I am developing something for a client and I urgently need this solved.

My client has a Magento store, which has several categories (say CatA and CatB).

If someone purchases an item from CatA, I need Magento so send an email to admin@example.com.

Is this possible? If so, how could I do it?

Thanks

mattster 195 Practically a Master Poster Featured Poster

Hi Guys,

I've got a client who would like something on a magento community store, but I have no ideas to solve this one:

Basically my client wants different people to be notified about different products being ordered.
So say somebody buys product A, so admin1 would be sent an email and told about it. Then someone else buys product B, but this time admin2 would be sent an email.

Is this physically possible with magento community (here) and if so how would I do this?

Thanks!!

mattster 195 Practically a Master Poster Featured Poster

Hi All,

I was wondering if there was a way using Javascript/JQuery to do something similar to the previews on the following sites:

Here we have a sort of select menu with an image preview, any ideas how to do this?

Thanks

mattster 195 Practically a Master Poster Featured Poster

Hi All,

I have my own site in which I would like to display my member badge, but the image seems of poor quality and out of date.

Would it be worth refreshing the images to a clean and modern look to encorage members to display their badge?

Matt

mattster 195 Practically a Master Poster Featured Poster

Well I think it all depends on what you are interested in. My computer science MCompSci soon turned into a DPhil (PhD) when I started my project on intelligent systems - but that's because I'm a keen physicist and mathematician.

There is no use us randomly suggesting ideas, because you could build anything. What sort of things are you interested in on the web?

mattster 195 Practically a Master Poster Featured Poster
mattster 195 Practically a Master Poster Featured Poster

Im more thinking along visual, like scrollspy and sutch :)

mattster 195 Practically a Master Poster Featured Poster

Hi again,

We all know jQuery can really spice up a website, so what would plugins could I try to make my pages even more exiting?

(ie. typeahead.js)

Thanks!

mattster 195 Practically a Master Poster Featured Poster

Hi guys,

Am working on a mini project and my question to you is:

What would be your top 5 to 10 important tips for security while working with PHP?

Thanks for any help recieved!!

mattster 195 Practically a Master Poster Featured Poster

welcome :)

mattster 195 Practically a Master Poster Featured Poster

So again, what exactly do you need?

mattster 195 Practically a Master Poster Featured Poster

So what tasks exactly do you need functions to complete?

mattster 195 Practically a Master Poster Featured Poster

November, my birthday ;)

Favorite make of car

mattster 195 Practically a Master Poster Featured Poster

A friend of mine did his BA In software engineering at Oxford, then left for Harvard to do the masters in computer science, and finished with a PhD from the MIT, where he is now a Professor ;)

Im about to do my last year of MCompSci at Oxford, maybe to stay and do my PhD in physics or computer science. Its really a case of grades and stuff before you can get picky...

mattster 195 Practically a Master Poster Featured Poster

I personally think that we shouldnt get involved unless its absolutely nessesary, since there are Chemical WMDs involved - id much prefer things stay over there.

There are times when we need to sit back and carefully think - "Is this really our fight?"

mattster 195 Practically a Master Poster Featured Poster

That's only because its short of the images etc, #davy_yg must now incorporate the JSfiddle to help him out.

The fiddle is only to help out with the structure :)

mattster 195 Practically a Master Poster Featured Poster

Right, the problem youre having is fairly easy to fix:

Firstly: give #navigation the gradient background (the blue and white one).
Then change the #cssmenu a to a transparent background.
Next add some borders to the #cssmenu a to get your black line seperator effect.
And finally if you sort out the padding on the dropdown links, we're pretty much there.

Code here: JSfiddle
Result here: JSfiddle result

Hope this helps,
Matt

mattster 195 Practically a Master Poster Featured Poster

Google XAMPP, its the easiest way to get going, and then use this from @jrewing:

<?php
echo 'Hello World';
?>

mattster 195 Practically a Master Poster Featured Poster

Are you using the code from the demo? If so you actually need to follow the tutorial.

Things like:

<div id="pt-main" class="pt-perspective">
    <div class="pt-page pt-page-1"> PAGE </div>
    <div class="pt-page pt-page-2"> PAGE </div>
</div>

All need to be correct and checked first

mattster 195 Practically a Master Poster Featured Poster

Try using this:

/* HTML */

<li class="nav1"><a href="">Link</a></li>
<li class="nav2"><a href="">Link</a></li>

/* CSS */

#nav li {background:no-repeat top;}
#nav li .nav1 {background: url('images/banner nav1.jpg');}
#nav li .nav2 {background: url('images/banner nav2.jpg');}
mattster 195 Practically a Master Poster Featured Poster
mattster 195 Practically a Master Poster Featured Poster

Nice one guys - Daniweb clearly has a good sense in music!

mattster 195 Practically a Master Poster Featured Poster

I agree with almostbob, it is possible to do i this way, but you're far better using a web based mail client to send it, rather than a desktop based like outlook. There is also far less that can go wrong doing it this way.

mattster 195 Practically a Master Poster Featured Poster

Hi guys,

Whats are favorite all time song and current song (one thats popular at the minute)?

i.e. My all time favorite is Phil collins - in the air tonight
My current favorite song is Bastille - Pompeii

Sorry for the awful videos aha

mattster 195 Practically a Master Poster Featured Poster

A mini giraffe is fine until you stand on it and kill it lol

I wish I had a new car

mattster 195 Practically a Master Poster Featured Poster

<a href="mailto:">Newsletter</a>

Then you just compose your email as normal

mattster 195 Practically a Master Poster Featured Poster

You would need make another image, with the flipped image and then repeat that.

Example images:

  1. Origional

    W

  2. New

    W
    M

Then just flip the second image.

mattster 195 Practically a Master Poster Featured Poster
<iframe src="http://www.google.co.uk/" width="500" height="500"></iframe>
mattster 195 Practically a Master Poster Featured Poster

Hi folks,

I am looking into an IPB forum to be registered at domain.com, for example.

I would like a seperate forum on each sub-domain, ie. forum1.domain.com and forum2.domain.com.

Would I have to purchase a seperate licence for each forum, or could I just have them licenced to domain.com and only have a single licence?

cheers,
Mattster

mattster 195 Practically a Master Poster Featured Poster

Its actually quite a well styled blog, I would just add a bit of padding on the .site-info div at the footer.

If you were really looking for perfection, try to add a feint background colour to the logo/header area

mattster 195 Practically a Master Poster Featured Poster

Dreamweaver CS5 all the way!!

Its a well designed IDE with loads of features, the only drawback is the price...

mattster 195 Practically a Master Poster Featured Poster

I however think PHP is an easier, more productive language - but it really does depend on what you want to do. Graphical based things and web apps are great in PHP, and Python is really for those who can put up with command line apps.