431 Posted Topics
Re: Your link sends my antivirus awol. **'Dangerous Site'.** Would be helpful to get that fixed. | |
Re: Make sure you are running PHP on your server: ## index.php ## <html> <head> ... </head> <body> <?php include('menu.php'); ?> </body> </html> ## menu.php ## <ul> <li>...</li> ... </ul> | |
![]() | Re: Hello there! From Oxford hey? I haven't been back there since the day I left university aha, have you studied there by any chance? And good luck with all that! ^^ agree with @Dani - PHP wins every single time. |
Re: When we grew up, I was really good friends with a lad called Chris. Chris was always a gifted mathematician, and at 17 went to Cambridge to study maths. He carried on to do his PhD, studying the concept of a 4th dimension, of which he was awarded a fellowship … | |
Re: Strongly advise to use CSS3, as it is very commonly supported (enough for Facebook and Twitter) and works like a dream. Also much faster load times, less file space and less bandwith. | |
Re: I've always found that my degree was the making of me. I was catapaulted into a very nice position in financial development, all because I went to a top university. Letters do not mean you are better, they are just recognised proof you can do something. In formal education you … | |
Re: See if any of these JS plugins help http://www.jqueryrain.com/2012/09/best-jquery-pdf-viewer-plugin-examples/ http://www.sitepoint.com/javascriptjquery-pdf-viewer-plugins/ http://plugins.jquery.com/tag/pdf/ | |
Re: I know it's already been said, but I really think it should be mentioned again. ## Database: ## *id,name ,title,age,profile_picture* { 1,"Bob","CEO",34,"bobs pic.jpg" } { 2,"Bill","Developer",27,"billpic.png" } ## PHP ## <?php /* Connect to DB and select employee's data */ echo "<img src='images/employees/".$row['profile_pic']."' />"; ?> Storing images in a database … | |
Re: This is because the font library is being included from a remote location, easily solved by including a library hosted on your own site :) | |
Re: Using what the guys have said about obtaining the `$radio` variable: Solution to your version <input name="xyz" <?php if($radio == 0){echo "disabled='disabled'";} ?> /> Neater version <?php $input = "<input name='xyz'"; if($radio == 0) { $input .= " disabled='disabled'"; } $input .= " />"; echo $input; ?> | |
Re: Okay so first things first, any SQL/PHP error messages at all? Have you checked that your databases are set up exactly the same, there are no differences in structures etc so they perform exactly the same. If they are identical, is it because this new location doesn't support or is … | |
Re: Can we see the code you've made, errors you're getting? Maybe because all of your code has spanish comments/link, or it's just me, but I don't really understand what youre trying to achive here. Please detail what your application is, and exactly what you need help with (i.e. displaying data … ![]() | |
Hi All, Ive noticed something that maybe prompts discussion: Large social media sites like Facebook have a notificaton settings page, where the user can select what notifications they get emails about and which ones are just displayed when you login to the site. Instead of just unsubscribing or 'the occasional … | |
Re: Ok, try using: // style div.opacityhover { -moz-opacity: 0.75; -khtml-opacity: 0.75; opacity: 0.75; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=75); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=75); filter:alpha(opacity=75); } // HTML/PHP <div class="sidebarX opacityhover"> <img src="" height="355" width="280" alt="" /> </div> Does that help? | |
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](http://www.youtube.com/watch?v=YkADj0TPrJA) My current favorite song is [Bastille - Pompeii](https://www.youtube.com/watch?v=F90Cw4l-8NY) Sorry for the awful videos aha | |
Following our recent discussions about mandatory tags, why not force users to use tags, but also help them along..? Say I create a discussion with the title "Sharing a variable between PHP scripts on same page" Something like Javascript would automatically place into the textbox: `sharing` `variable` `PHP` `scripts` `same` … | |
![]() | Re: You mean something like **TinyMCE** or are you aiming for more of an advanced Wordpress style drag and drop page builder? ![]() |
Re: So I take it your redirect works alright, so all you need to do is: <?php $sql = "SELECT * FROM database WHERE ... "; #Query $query = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_assoc($query); ?> <html> <body onload="window.print()"> <h1>Order #<?= $row['orderID'] ?></h1> <!-- 'orderID' being the column in your DB … | |
Re: I've noticed it too, not sure if they'll bother to fix something like that though..? | |
Hi All, I was just wondering about an idea that might give Daniweb against other forums, and would suit a lot of us as developers. What about another set of forums including UI/UX design, working with Photoshop, Illustrator, Flash etc As a developer, I am hopeless at design, and maybe … | |
| |
Re: Hi there, welcome! Hopefully you'll find lots here and theres a great community of people to get to know! | |
Re: 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. | |
![]() | Re: 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](http://getbootstrap.com/)? |
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} … | |
Re: 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. ![]() | |
Re: 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](https://wordpress.org/plugins/participants-database/screenshots/) To write it in … ![]() | |
Re: ^ 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!! | |
Re: 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 … ![]() | |
Re: 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](https://www.google.com/recaptcha/intro/index.html), this is run by Google so you can be rest assured it will stop the vast majority of spammers. If … | |
Re: 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 … | |
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, … | |
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 … | |
Hi All, I was wondering if there was a way using Javascript/JQuery to do something similar to the previews on the following sites: * [phpBB.com Styles Demo](https://www.phpbb.com/styles/demo/3.0/?from=submenu&sid=bb14d4e00f1932c986cce47c96a83dc3) * [Kriesi Theme Demos](http://www.kriesi.at/themedemo/?theme=enfold) * [DamojoThemes](http://themes.damojothemes.com/?theme=velocity_wp) Here we have a sort of select menu with an image preview, any ideas how to do … | |
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* | |
Re: 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 … | |
Re: No deal, too old for me and not as fast as the 0-60 in 2.9s Mclaren, my favorite car [McLaren P12](http://insidemclaren.com/wordpress/wp-content/uploads/2012/09/Yjr7.jpg) | |
Re: Or has anyone thought of in "image" input? http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_image | |
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! | |
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!! | |
![]() | |
Re: So what tasks exactly do you need functions to complete? | |
Re: 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?" |
The End.