- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
31 Posted Topics
How important is Unit Testing taken by employers, is it something that every developer should have as one of their skills, do some jobs require it more than others or is a simple test like handing out a piece of software to be used by friends family etc sufficient enough. | |
Hi My problem is. I'll break down the problem to make it clear. [CODE] <html> <head> <body> <!-- ajax call that opens a jQuery UI Dialog box --> <a href="#" onclick="$.ajax({beforeSend:function(request){$('#onboarding_accounts').show();}, complete:function(request){$('#onboarding_accounts').hide();}, data:'', dataType:'script', type:'post', url:'/proxy/account/load_create_account?method=get'}); return false;">Create New Account</a> </body> </html> [/CODE] It should be noted that the dialog … | |
I have a problem with the val function it is unable to get the value of a field once I have type text into it, this only occurs when the form is in a jQuery popup box that has a form. According to my inspector, it says that the element … | |
Re: Could you not do something similar to when a user clicks the page an alert pops up. replace the code where the popup occurs and just +1 to a counter. If you wanted to store this data i spose there are 2 ways, one count all the clicks then when … | |
Re: -- Brilliant community (check out ruby forums) -- The code imo looks really nice, and there are alot of very helpful functions built in. For example i was writing a script that would get the first day of the week and last day of the week. In PHP i eventually … | |
Re: I much prefer to programm on linux, so much easier to set things up in my opinion, I use Ubuntu 8.10 atm and for example Ruby, i only had to go on the site to see what files it requires, typed them in the synaptic package manager search, ticked the … | |
I have an IFRAME, i have set the height to 100% and have scrolling set to no why in safari does it not show the whole iframe? and what can you do to get this to show the full iframe page and not chop it off. | |
When designing a new website that will be cross browser compatible. what way is best to develop. Should you design and code the css for ie 6 upwards from the start, is this code more likely to work in the other browsers such as opera, firefox, safari, chrome? Or is … | |
The easy slider found here. [url]http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider[/url] I have it set to slide automatically and continuously however when you click previous or next and leave it, the scrolling will stop. Has anyone implemented something to make it so that the sliding continues or know of a way to do it. Any … | |
Hi I have my initialise constructor, why won't my function to_hash work ? [CODE]def initialize(msg) @original_msg = msg.strip.delete(' ') s = ["|","^"] @chunked_msg = @original_msg.split(s[0]) @msg_hash.self.to_hash end def to_hash @chunked_msg.each do |x| s = x.split("=") @msg_hash[s[0]] = s[1] end return @msg_hash end[/CODE] | |
Re: The one problem I can see in regards to the code that we have available is you have missed a comma after the * all and petType, it should be like this. [CODE]$query = "SELECT DISTINCT *, petType FROM Pet ORDER BY petType'";[/CODE] It should be noted though that by … | |
Hi there, I have a slight problem with an email script that I have written, i'm using the mail() function. It sends an email a [email]ben@gmail.com[/email] (doesn't exist) I have hosted a website online and created a send us a quick message script that works from the site, this script … | |
Re: You would need something like this [CODE] $date_1 = $_POST['date_1']; $date_2 = $_POST['date_2']; $query = 'SELECT * FROM table WHERE date BETWEEN '.$date_1.' AND '.$date_2; $result = $mysql_query($query); [/CODE] What this SQL query does, it selects all values from a table where the date is between date 1 and date … | |
Re: Hi there, Wasn't sure if you meant building a templating system or using a templating system. Anyway a quick google search would have provided you with these [url]http://www.webresourcesdepot.com/19-promising-php-template-engines/[/url] [url]http://www.codewalkers.com/c/a/Display-Tutorials/Writing-a-Template-System-in-PHP/[/url] hope these help ![]() | |
Re: I'm not sure which IDE your using, (Dreamweaver, Netbeans, Textmate etc) But some IDE's such as Netbeans have braces highlighting, this allows you to easily check whether all of your opening braces have a closing brace which can be very helpful for instances like this. May I also note, when … | |
Hi there I'm having trouble a with a forum query here are my 3 tables [B]categories[/B] [U]category_id[/U] category_name category_description [B]threads[/B] [U]thread_id[/U] [I]category_id[/I] thread_title thread_text [B]posts[/B] [U]post_id[/U] [I]thread_id[/I] post_text I want a query that selects all of the top level categories and displays them however in that query I am aware … | |
What books do you think every programmer should have read, these are non-language specific. Mine Head First Design Patterns Mastering regular expressions | |
Re: The code you have written is fine however you are hoping to prevent users from viewing pages that they don't have access to. You need to give permission to a user to view the page, this can be done by what you mentioned, using a SESSION variable say you have … | |
Hi there, I'm thinking of creating a mini comparision website like money supermarket or gocompare but have no clue as to how these sites manage to get all the information in the first place. My first thought is web services and something similar to rss feeds but this is only … | |
Hi, I posted this in the Computer science area but am assuming not many people use that place. I want to create a mini gocompare site, what sought of thing would i need to do to create something like this? | |
Could any wiz at regular expression write an expression that will check whether a string matches this format number=string must have the =sign included, the number can be anything up 3 numbers and the string can contain any characters this would very much apreciated i've been tryin this d*3/=/{aA-zZ}$/ thanks | |
Re: This is an interesting one, if i have some spare time tomorrow i'll look into it. Btw, whats the reason for wanting to export it into a word doc and not say a PDF. | |
Hi there, i've recently created a new website [url]www.horseboxhirehertfordshire.co.uk[/url] I have been following some of the very well written articles on this website and have been following them. The website as listed above you'll see that i have, made them in a way that is clean, has a unique title … | |
Re: Just a question, why aren't you just converting the submitted form data straight into html then emailing it or converting to a pdf? | |
Re: Nice tool brit, nice and easy to use, thanks alot. | |
Re: If you wanted the information the user entered to appear a forum topic, instead of sending the input via email you would store this information within a database. If you had a forum the code you have here would draw the information from the database allowing the user to view … | |
Re: worth while link to check out is [url]http://www.lotsofcode.com/php/php-array-pagination.htm[/url] i used that as the base of a pagination script for my current project, modified to suit my purpose however i think would be modifyable for yours as well. I am also aware that pagination can be done via the database within … | |
Re: Thanks for the class, nice bit of code that is lightweight | |
Hi there, i'm currently having trouble re-sorting an array based on a letter that a user has submitted. this is the associative array I want to sort. [CODE] $people = array( 0 => array( 'id' => 12345, 'name' => 'abi', ), 1 => array( 'id' => 12346, 'name' => 'ben', … | |
Re: Yeah i have to agree with MrShoeder here. I'm currently working on this problem as well ryan, only difference being that i'm doing it for Postcodes in the UK. However none the less the logic should be the same. From what I am aware of, you need the following parameters, … | |
Re: I know this is old but for anyone else who is viewing this topic for information. You can get UK postcode information from the Royal Mail although it does cost some money. You can also get postcodes from various sources, such as [url]http://www.easypeasy.com/guides/article.php?article=64[/url] As for implementing it, i am currently … |
The End.