335 Posted Topics
Re: This might help http://www.jetbrains.com/idea/index.html | |
![]() | Re: Not a joke as such but one I use a lot. "Ahh that' would be a PICNIC error"? Problem In Chair, Not In Computer. |
Re: You need to switch on Response Buffering. I'm not a php developer but foud this link: http://php.net/manual/en/function.ob-start.php | |
Re: Poly means many and morph means form or shape. It is the phenomenum of things being able to exist in different forms. If you have a Cat class which inherits from an Animal class and also implements an ISerializable interface then in your code you can create an instance of … | |
Re: I agree Its difficult to poilce this automatically but how about a rule where all new users first post has to be approved? I don't know how many admins are on here but there are not that many new posts from new members that it can't be done. Its more … | |
Re: Hi I'm having trouble understanding what you need. Can you post your html and JavaScript for us to see? | |
Re: Hi You are setting words1 to the length, change it to: var words1 = str1.split(' '); Then change your if statement to: if (words1.length > 60) Also you should probably initialise newstr with: var newstr = ""; Also a note on style. Don't use variable names like words1 and newstr … | |
Re: What do you mean by "falling under another range"? I guess you could mean does one date range overlap another or does it exist completley within another date range. Which of these is it that you need? | |
Re: Pretty easy with some JavaScript. Can you code in JavaScript? This site does something simillar - view the source and see how it works. http://www.katmaid.co.uk/aboutme/gallery | |
Re: You can start by showing us your code! | |
Re: You need: if ($a == "Employed, Locally" or $a == "Employed, Abroad") | |
Re: How can you tell this is homework? It could be a real business application, I know I'd buy it! ![]() | |
Re: I wrote an article a few years back which might shed some light on this if you can bare to read it as its quite long! https://www.paxium.co.uk/PublicArticle/Article/497 Just realised you are already cleaning things up so whilst my article may not help its certainly worth reading especially if you have … | |
Re: Try uninstalling Chrome | |
Re: You want to know what the battery life is or do you want to test that it has the battery life it is supposed to have? | |
Re: Hi Suzy - As I read your second sentence I thought this needs to be a Singleton and was all geared up to tell you to scrap your original idea and use a Singleton. It seems that you pretty much solved this problem yourself though which is great! Object orientated … | |
Re: Don't you ask this question every day? I can find it in 10 seconds with Google, it doesn't need a discussion! | |
| |
Re: Is this not working, is there an error message? | |
Re: This is off the top of my head but I think you can assign your window to a variable eg: var myWin = window.open("add_address.php... then later I think you can go myWin.close() | |
Re: I had a very quick look at the tutorial. Looks like a cross between JavaScript and C. | |
Re: I would look at CSS using layers and respond to key presses to change the position of the layer. | |
Re: How are you redirecting to the other page? Could you put the username in the a cookie? | |
Re: You can embed images into your program yes using Resources. Is this a Winforms App? | |
Re: I've read this 4 times now and still don't get it. Can you reword your question using clearer language - I'm sure your question can't be that difficult to explain! | |
Re: I think My Articles are ones you started where posts are any posts at all. | |
Re: Any chance of getting the entire app - zipped maybe? | |
Re: That looks nice but that aint a Monopoly board! http://i.dailymail.co.uk/i/pix/2011/06/03/article-1393521-0C6047E600000578-120_964x966_popup.jpg | |
Re: Private Sub Command1_Click() On Error GoTo ErrHandler Dim xlApp As Object Dim xlWB As Object Set xlApp = CreateObject("Excel.Application") xlApp.Visible = True Set xlWB = xlApp.Workbooks.Open("c:\MySheet.xls") Exit Sub ErrHandler: MsgBox "There is a problem opening that workbook", vbCritical, "Error!" End Sub | |
Re: If you hit F12 in most browsers you will get some developer functionality. You can click on any element and then it will show you all they styles and where they are coming from etc - very useful for debugging CSS issues. | |
Re: Do you want to do this via ajax/javascript or via a traditional form posting? | |
Re: Is there anything dodgy in any of those text fields? | |
| |
Re: Looks ok at a glance - are you able to provide some html as well so I can have a play? Also an example of what text contains when the function is called. | |
| |
Re: Just add them seperated with commas eg: $sql1="UPDATE customer SET COMMENT='$_POST[COMMENT]', COMPANY = '$_POST[COMPANY]' WHERE MSISDN='$_POST[MSISDN]'"; | |
Re: Which programming language/version are you using? | |
Re: Ids should be unique. use class instead | |
Re: @humorousone - I agree - I couldn't spot an easy algorithm and even had 2 minutes trying to code it and its not easy to code it in an elegant way - a bit of brute force is needed as far as I can tell! | |
Re: Ok this won't help with this problem but you should have an automatic backup job which backs up every day - it can be set to delete them when they are older then a set time - eg 4 weeks. Its a 5 minute job to set this up, unfortunaley … | |
![]() | |
Re: "I'm not sure what the requirements are" - I couldn't figure that out too! | |
Re: http://www.paxium.co.uk/content/daniweb/trim.html <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <form> <input type="text" id="test" /> <br /> <br /> <input type="button" value="Show Trimmed Text" onclick="showTrimmedText();" /> </form> <script> function showTrimmedText() { var value = document.getElementById("test").value.trim(); alert("[" + value + "]"); } </script> </body> </html> | |
Re: You are declaring your variable inside the curly brackets. This is the scope of the variable. Move it onto line 25 with string theamount; then assign it in your if statements as you are but remove the "var " | |
Re: Hi This is indeed a Generic List. You can create a List of anything eg List<Customer> or List<Invoice> To Add things you just use: var model = new StoreIndexViewModel(); model.Genres.Add("Horror"); model.Genres.Add("Romance"); model.Genres.Add("Drama"); You can pull them all out with things like: foreach (var genre in mode.Genres) { //Do something with … |
The End.