-
Posts
387 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Krewe
-
-
Thanks for mentioning that! My default for any program is All files so I never think of that.As long as you have the file type drop set to "All files" as Boen pointed out. Otherwise, you'll get a file named "welcome.html.txt" -
Just store the link/path to the image you want in the database.Example: (Items in parenthesis are what you will put into the fields. Just examples though) tableField 1: id (1)Field 2: name (banner)Field 3: image (images/banner.png) Then all the php would look something like is.
<?php$query = "SELECT * FROM table WHERE name = 'banner' LIMIT 1";$set = mysql_query($query, $connection);$result = mysql_fetch_array($set);echo "<img src=\"{$result['img']}\" alt=\"{$result['name']}\";?>
-
Go ahead and make it. You could make it for your own reference.
-
Or you could just use a $_SESSION instead of a $_COOKIE. When you delete a session (logout) there is no delay in showing that nothing is set. With a cookie there are sometimes lingering bits that cause a browser to still think it is set. Do you know how to use $_SESSION? I really feel that is your problem. I use $_SESSION for my login features and whenever a user logs out the log in is IMMEDIATELY ready for the next user on said computer.
-
The trick with Notepad is to type out the whole file name + its extension.Even though the drop down menu doesn't say .html you can still name your file "welcome.html" and it will save as a regular .html file.Same goes for .css, .php, etc. ~Krewe
- 1
-
Previews are not that powerful nor usually that accurate... Just stick to Notepad++ or Sublime. Better quality, FREE, text editors and your "Opportunity Cost" for not using one with a preview is you have to hit F5 (refresh).
-
Just to answer the last two comments.The three sections on the bottom aren't supposed to be "professionally" named... "Will work for Money" - Not "Professionally" Named || "Mommy Look!" - Nope || "New News" - Nada
-
As Chris Coyier stated... You should know your prices. If you are going to make websites for clients you need to know your prices for certain features, it shouldn't be based on your client (unless it is a big dog who can fork up the dough, obviously they are coming to you.) You can't fear that your price will cause "Sticker Shock", your clients are coming to you so they think you can deliver. So unless your prices are just ridiculous you'll be fine, if they so no thanks, to bad for them. They lost your great services.
- 2
-
Do this test just to see it in action.Make a div with a WIDTH of 100% and a MIN-WIDTH of 900px. Then make your browser window smaller and you'll see the div stops shrinking when it reaches 900px wide.
-
You did... I think the day after you answered that question this guy posted his.I thought I answered a question like this one a day or two ago. -
I'm gonna have to learn it sooner or later for 404redirects and all that jazz...So does anyone have a good site that explains it well? Or a tutorial of some sort?Or if you'd be willing to explain the basics it'd be appreciated! Thanks Guys,Krewe
-
A good example of that is Www.hotmail.com you see "Microsoft Corp." in the green box. That's all it is. And you cant add that stuff without an SSL Certificate.
-
But I barely gave him any info I just gave him the format and the theory of how too.If we have his code then it makes it so he does no work. I just gave him suggestions where to put it and a guideline of how to do it.If he has to have the knowledge to *SUCCESSFULLY* integrate it into his form he'll be fine and keep working. If he doesn't he'll be back...Posting something similar was was my first impulse, but I noticed it was only their second post. I thought it reasonable to understand whether "his" contact form is really his or someone else's. IMO, this answer has a bearing on how to help him.- 1
-
1) Looks nice, I am not a fan of the top portion of the background. Seems to rough to me when the design is supposed to be "Sleek". I am not a fan of the grey testimonial text though. (Plus not a fan of the nav bar)2)Depends on a few factors... Do you feel proficent in HTML/CSS? If so move on, then I'd say PHP because you are using a portfolio set up. And unless you want to edit your site's code everytime you want to add things I highly recommend PHP over Javascript. PHP allows database (you have to learn MySQL along with it) usage which leads to a lot of great features.3)Same as 24) I have no idea what it is asking, but I say use CSS3 whenever you can. Just be wary that older browsers dont like CSS3 so items might not appear like you want em.
-
Link doesn't work anymore.
-
Niche there really is no need for his code for this simple question. Alright Tosti,The first step is going to be to just add a text input field at the end of the contact form before your submit button. The code will look similar to this.
<p>What is 2+2?</p><input type="text" name="answer" id="answer" />
Then in your php code at the top you will need to have a validate process after you verify the form has been sent. Something like this...
<?phpif(isset($_POST['submit'])){if(isset($_POST['answer']) && $_POST['answer'] == 4){#Right answer was given continue with submitting form}else{#The wrong answer was given give an error message.}}?>
That's it. Any questions just ask.Krewe
-
-
Post the code you have, that would help a lot.
-
Mind me asking how you did it?
-
Just to go off of what birbal said, this is kinda what your database would look like. Table A: (Storing the video info) Fields: ID, Name, StorageLink, timestamp, user, ... --------------------------------------------------------------------- Table B: (Storing the Comments) Fields: ID, id_fk, username, comment, timestamp, ... ---------------------------------------------------------------------Next thing you'd have to do then is whenever a user comments on a video, you would set id_fk to the id of the video. Now when you are wanting to receive the comments for a specific video all you have to do is set the id of the video from table a to say $id, then search table b for all entries where id_fk = $id. Then you will only receive the comments for a specific video.
-
<!DOCTYPE html><html><head><title></title><style type="text/css">#left {display:table-cell; width:448px; height:336px; vertical-align:middle; background:black;}#left img {display:block; margin:0 auto;}#right {width:97px; height:326px; padding:5px; overflow-x:hidden; overflow-y:auto; background:black;}.floatLeft {float:left;}</style></head><body><div class="floatLeft"><div id="left"><img src="http://dl.dropbox.com/u/4017788/Labs/image2.jpg" alt=""></div></div><div id="right"> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb2.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb3.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb1.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb2.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb3.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb1.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb2.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb3.jpg" alt=""></a> <a href="#"><img src="http://dl.dropbox.com/u/4017788/Labs/thumb1.jpg" alt=""></a></div></body></html>
There you go :)You just need to surround the table-cell div with another div that floats left. That way it doesn't interfere with the picture. ~Krewe
-
1) The first thing you look at on your page is not you content. It is the ad, at least for me.2) WAY to busy. My eyes do not flow across the page, I find my eyes jumping to content instead of easily flowing from top to bottom.3) I feel there are no many navigation buttons... You have a horizontal nav bar AND a vertical.
- 1
-
Awesome... Just awesome. HahaJust a critique about the how it was made page. The text/font is really hard to read (for me). Font is always different in the eyes of the beholder, so maybe I'm just stupid .
-
I like it bud! Very cool concept.The one thing I found that I am not sure if you know about...The contact form has no "Placeholders" telling people what to put in each input area. Great job.
IT117 project
in Critiques
Posted
The one thing about the design I don't like is, for example to bio page, the rounded rectangles for the div containers going outside of the oval. The picture as well, it just feels like you are, "Coloring outside of the lines" for lack of a better term. Just doesn't look clean to me. (Previewed in Chrome)