Maq
Administrators-
Posts
9,363 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Maq
-
You have to escape it "\\".
-
* Remember, this is all just my opinion * The background is still too dark. That looks nothing like what phpfreaks has, as I mentioned earlier. How about a lavender (#E6E6FA). The header looks like you did it in MS paint. The lights behind the text is the eye bleeding part. Do you have access to photoshop, fireworks, or GIMP? I can provide you with a decent tutorial to make a simple banner for your site that looks really nice and professional.
-
The background is too bright. Use a background similar to the shade of phpfreaks. Now the header hurts my eyes. Keep it simple, implement basic effects and maybe a logo.
-
Do this for both your queries and see if there are any errors or if your queries are even correct. $sql = "UPDATE events SET value = 'true' WHERE eid = '$id'"; echo $sql mysql_query($sql) or die(mysql_error());
-
Very nice, I like it a lot. Not too much I would change...
-
Of course we would. Do you actual think that's a solution? There's a problem with most things. That's my whole point, just cause you come up with a problem with something doesn't mean you can't use it. There's no alternative, so you're saying that relying on the internet and computers is sad, just doesn't make sense. There are many problems with driving automobiles, pollution, accidents, gas, etc... Does that mean we shouldn't drive? No, it means we come up with better solutions that are more environmentally friendly and safer for us to drive. Just like how we need to change the internet. When the internet was designed and developed there really wasn't a solid security implemented.
-
Everything you say makes sense, but you kind of are indirectly implying that we never try anything new and shiny. The internet is still new, and surely has chinks in its armor but what are we supposed to do? You keep coming up with all these negative "what if" electronic epidemics but no solutions... Let me reference back to my car metaphor... "What if I'm driving down the street and a drunk driver hits me?" Does this mean that you're going to stop driving your car? No, the only thing that you can do is be careful and make automobiles safe and secure.
-
I would go with a lighter shade of blue with no patterns. Do a search on PHPFreaks there's some links that can assist you in picking a color scheme, including backgrounds. Sorry, didn't mean to be mean, constructive criticism.
-
That's why we try our best to make everything reliable and secure. Being dependent and taking full advantage of something, such as the internet, go hand in hand. You have to trust it (which I don't) to take full-advantage of its power. I don't know about you, but the company I work for has had about 99.99% uptime in their internet connection. If it ever did go down, there are always backups and local servers to work off of for the time-being. A single user doing work at home, may be a little different story...
-
-A header -Content -A non-eye bleeding background.
-
That's pretty funny and all, but not all time spent on the computer is for fun and games. Indirectly it is. I mean, you go to work to pay for your bills. You can't necessarily say you need to pay those, or need to have the things you do. Lots of people manage to survive without roofs over their heads or cars or more than a few rags to cover their happy no-no spots. I'm not necessarily saying it's wrong to have those things. I'm just saying, it's sad that we have grown so dependent on the internet and computers. Why is that sad? I think it's a great thing, people can communicate worldwide... sounds like something we SHOULD take advantage of and be dependent on. It's like saying, "It's so sad that people have become so dependent on automobiles now, instead of walking everywhere."
-
I'm sure there's a multitude of tutorials on Google...
-
searching/echoing any unknown single or multiple word search
Maq replied to paulmo's topic in MySQL Help
Instead of: $data = mysql_query("SELECT * FROM xxx WHERE terms LIKE'%$message%'"); echo $data; do this: $sql = "SELECT * FROM xxx WHERE terms LIKE '%$message%'"; echo $sql; mysql_query($sql) or die(mysql_error()); -
Yep In all seriousness, i feel old sometimes. You feeling old, makes me feel old...
-
W3Schools - GET Please read through this tutorial, it will teach you the basics of the $_GET method. What do you mean not good? What revraz posted is the only way to GET params from the URL... You should have something like this on your page: if ($_GET['name'] == 'dog') { echo "Dog section"; } elseif ($_GET['name'] == 'cat') { echo "Cat section"; } elseif ($_GET['name'] == 'muskrat') { echo "Muskrat section"; } else { echo "Above three sections not selected..."; } ?> Cat Section Dog Section Muskrat Section
-
I assume PHP... Have you tried anything yourself? 1) $ip = $_SERVER["REMOTE_ADDR"]; 2) echo "your message " . $ip; 3) Learn MySQL and store it in a database. This is the wrong forum for that question.
-
There are plenty of "secure logins" both on phpfreaks and Google. You should attempt it yourself and post what you think is good so that people can test it for you. Making login scripts is a very common thing...
-
Next time format your code and use tags.
-
I don't think there is one, unless you're willing to pay.
-
stalian hold on, I'm almost done writing all the code for you, don't go anywhere.
-
You should really do a fresh install on your second computer.
-
And by the way, you shouldn't use short tags anymore, you should use "<?php".
-
Maybe I'm confused but, how does that solve your problem? I thought you needed help deleting not displaying the 4 most recent posts...
-
You should always try to validate, no matter what... That link is not very useful as the image is only 3x3. @OP, I think everything is pretty good. Just need to work mainly on the header, change the background color (maybe a lighter green?) and some other trivial things.
-
He has 2 post counts, check it out... [attachment deleted by admin]