609 Posted Topics
Re: You are going to have to put an example up online somewhere that we are able to see it to give you more feedback Taimoor. | |
Re: How about putting the quiz on its own page somewhere on the site and then just making a link to the page that has the quiz on it?? <a href="/my_totally_awesome_quiz">Memory Allocation</a> | |
Re: I am not able to duplicate the problem. It must be something else outside of the css/markup you provided that is causing this behavior. Do you have a live page online that shows this? | |
Re: Take a look through this. [url]http://net.tutsplus.com/tutorials/other/using-htaccess-files-for-pretty-urls/[/url] ![]() | |
Re: Or something a little more simple: [CODE] <?php $n = 4; // the number you want to change $i = 1; foreach($images->photos->photo as $photo) { if ($i % $n == 0 ){ echo '<div><a href="http://flickr.com/photos/' . $flickr->username . '/' . $photo->attributes()->id . '"><img src="http://farm' . $photo->attributes()->farm . '.static.flickr.com/' . $photo->attributes()->server … | |
Re: What are you copying and pasting from? Microsoft Word? Try copying and pasting from a standard .txt file and see if you have the same problem. Some text editors like Word add arbitrary code that you don't see when you copy and paste and it can cause strange issues like … | |
Re: It would be a 2 column fluid layout. Just do a Google search for it. It would be something like this... [url]http://css.maxdesign.com.au/floatutorial/tutorial0815.htm[/url] | |
Re: Abandon any support for IE6. It is gone, done, out the door. In fact IE7 is not too far from no longer being supported by Microsoft (though I still will creates sites that are compatible with it and have fall backs for it). | |
Re: This is one I have used on projects before that I like. [url]http://nivo.dev7studios.com[/url] | |
Re: I second that comment by twiss. You are not responsible for the content on YouTube and nothing can happen to you for embedding a video on your site that is hosted through YouTube. | |
Re: This thread made me LOL sort of. You two guys sound like me and my younger brother arguing when we were growing up. I have done this before using jQuery. This of course won't work if the browser does not have javascript enabled. [url]http://growmedia.ca/blog/2009/10/14/resizable-full-browser-background-image-with-jquery-preserving-aspect-ratio[/url] I have a quote that I … | |
Re: Subtract jQuery from your equation. Does it only show one result from the database with out the use of jQuery? That should be working first before we start worrying about how to present it with jQuery. | |
Re: [QUOTE=duliduli556;1503926]What is Graphic Design ? Thank you[/QUOTE] [url]http://en.wikipedia.org/wiki/Graphic_design[/url] | |
Re: Not going to happen. If the browser can't see the mark up then the page does not get rendered. Why would you care about hiding your mark up anyways? | |
Re: I am not really sure what the code you posted has to do with the description of the problem. Do you have an example online that can be seen? It would be a lot easier to advise on if it was. | |
Re: You should really explain "doesn't work" part in your description. The vague explanation of the problem is not helpful in giving you an answer. Also I see more than one problem with the html. | |
Re: Show your mark up with this, the CSS doesn't mean much with out it. | |
Re: You are correct. The reason you see the page get chopped up is because anytime you use die() or exit() it does just that and it stops processing the rest of the page. The only time I use those is when it is a critical system failure and an email … | |
Re: The file is set to the account that creates the file which is normal. Changing the owner is probably not necessary but altering the file permissions to allow the file to be executed is. Maybe something like this? [CODE] <?php $s = 10; $e = 55; system('oggz-chop --start $s --end … | |
Re: Works fine for me when I tested it on my local machine here. When you say it doesn't load, what exactly does it do? Nothing? Error page? | |
Re: First don't use ereg as it has been deprecated. The syntax is correct for the preg_match but the logic may not be doing exactly what you want. Also I don't think your regex you have will work for what you are wanting to do. I can invest a little more … | |
Re: This isn't an "answer" so much as a suggestion but, avoid using percentages for margins/padding etc and use pixels to define these values. There really isn't a good reason here to use a percentage and I can almost bet that is where Safari is failing at. | |
Re: It has something to do with the DOM and the order things are being rendered in. I am not sure of the "exact" reason but it is related to the DOM. You can fix this by moving your JS files and script tag for the menu to the bottom of … | |
Re: Typically you can right click on an element and it will show whether it is flash or not by saying something like "About Adobe Flash" in the right click menu. | |
![]() | Re: Wait... so you are having the side columns be a percentage width and then you setting the center to a hard 380px?? That is way backward from a standard 3 column layout that you see on the web today. ![]() |
Re: PHP is not too difficult depending on your programming experience. If you were familiar with another language derived from C then you would probably catch on to PHP rather quickly. If you really only know Javascript then you may have to rewire your thinking a bit to handle a server … | |
Re: Here is another way to accomplish what you are trying to do. [CODE] <?php $con = mysql_connect("", "rkaydco1", "EiD8m1MHR$]I9B|=Z=[jioiojfioefieo") or die(mysql_error()); echo "Connected to MySQL<br />"; mysql_select_db("rkaydco1_ip", $con) or die(mysql_error()); echo "Connected to Database"; function theForm(){ ?> <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post"> WO: <input type="text" name="WO" /><br /> Customer: … | |
Re: [CODE] <?php $to = "safiullah12@hotmail.com"; $subject = "Brought to you "; $Sender = "info@bengalilist.com"; $name = $_POST["fname"]; $email = $_POST["email"]; $phone = $_POST["phone"]; $message = "\nName = $name\nEmail = $email\nPhone = $phone"; // Echo "Name: $FirstNam . \tEmail Address: $Email " ; // Always set content-type when sending HTML email … | |
Re: I prefer to have just the pages that need it to be encrypted rather than my whole site. Once you have SSL enabled on your host you should be able to just refer to the page using [url]https://domain.com[/url] and reach the page while it is secure. Remember that any scripts, … | |
Re: I commented on this thread that touches a bit on that. [url]http://www.daniweb.com/forums/post1474888.html#post1474888[/url] I always design for Firefox, Chrome, etc. Usually designing for Firefox make your job easier because if it looks right in Firefox then the chances it will look right in other browsers will be higher. Then you start … | |
Re: eewww, no bueno. Sending email like this really doesn't work well. Like Javvy said, sending email using PHP from the server is a good way and isn't too difficult to setup for just sending a simple email. This may help in explaining this [url]http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php[/url] | |
Re: [CODE] <html> </head> <body> <p> <? displayStatus(); ?> </p> <p> </p> </body> </html> <? return; } /** * Determines whether or not to show to sign-up form * based on whether the form has been submitted, if it * has, check the database for consistency and create * the new … | |
Re: This question has many correct answers. More questions would need to be asked to really give the best possible answer. If you are trying to build something from the ground up from scratch and want it to run in the browser than MySQL, PHP would be good a choice. But … | |
Re: An error that you are seeing or actual description of the problem would be helpful. | |
Re: What does your code look like? It looks like you are stripping slashes from the values. | |
Re: Why would you want to create a new file in the folder just for that? You could potentially be inundated with a huge amount of files in the folder if many people or bots filled and submitted the form. I am not sure what you are attempting to do but … | |
Re: There are a lot of shared hosting providers that block the use of exec() as it can be a possible security risk when using shared hosting. You should check with your hosting provider to make sure that this command is available to use on your hosting plan. Two others commonly … | |
Re: Hi Adam, Your standard html doesn't have "variables" that can be used like other server side languages to pass between pages. It would really require using something like PHP to accomplish what you are describing. It might be possible with javascript but that is not my area of specialty. It … | |
Re: Or you could just click on the "Privileges" tab and select "Add a new User" there. Not really sure why you come off all hostile, may be someone was rude before. I will tell someone to read up a little sometimes if the question was obviously not researched at all … | |
Re: Which line? There are 12 of them.. The only operator in all of that code is the "=" in line one, so I am not seeing anything else that would be remotely close to a boolean value. Are you getting some error message that may provide me information on the … | |
Re: Well, the file has to be saved somewhere at one point before PHP can send it with an email. But after the email is sent you could use PHP to delete the file from the server. Here is a link that may help that has a section on sending mail … | |
Re: You should start here [url]http://www.w3schools.com/html/html_forms.asp[/url] | |
Re: You may want to start with understanding CSS positioning first. Here a couple of links that go over the different methods. [url]http://www.barelyfitz.com/screencast/html-training/css/positioning/[/url] [url]http://www.w3schools.com/Css/pr_class_position.asp[/url] Also, using javascript for a tooltip that displays an image may be helpful in what you are trying to do. Without showing any of your code that … | |
Re: preg_replace() requires 3 parameters given to it like the error displays. Here is the PHP manual which shows an example of this [url]http://php.net/manual/en/function.preg-replace.php[/url] In line 21 for the mysql_query the LIMIT1 should actually be LIMIT 1 with a space between. | |
Re: You can use CSS3 to do it but it isn't supported in all major browsers so most web developers stay away from using it. You can find out more about it here: [url]http://www.css3.info/preview/box-shadow/[/url] | |
Re: Well, it may be a custom font they use but like Shaya4207 it is a logo image. A quick look around (like literally 2 minutes) and I found this font that is very similar to the look of their logo. [url]http://www.fontspace.com/johan-aakerlund/comfortaa[/url] Cheers | |
Re: To get a screenshot of a site you would actually have to have something load the site that does render it and then take a screenshot of the site. You are correct though, PHP would probably not be the best for this task. The best to use would be something … | |
Re: Personally I would try moving away from the drop down menu system all together. That way you will have continuity across your standard site and the mobile version. Using an accordion style sub-navigation works still on touch screen if you needed to (the type you click on to show the … | |
Re: Sounds a little over complicated solution for something like that when there are easier methods of doing this. Why not just use htaccess to password protect a directory? [url]http://www.addedbytes.com/articles/password-protect-a-directory-with-htaccess/[/url] |
The End.