335 Posted Topics

Member Avatar for divinity02
Member Avatar for fizzah zahid
Member Avatar for humorousone

Not a joke as such but one I use a lot. "Ahh that' would be a PICNIC error"? Problem In Chair, Not In Computer.

Member Avatar for ZZucker
0
501
Member Avatar for Brilliant_1

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

Member Avatar for DaveAmour
0
297
Member Avatar for Benny Adams

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 …

Member Avatar for DaveAmour
0
100
Member Avatar for NathanOliver

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 …

Member Avatar for DaveAmour
0
234
Member Avatar for KateyB

Hi I'm having trouble understanding what you need. Can you post your html and JavaScript for us to see?

Member Avatar for lps
0
251
Member Avatar for Darth Vader

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 …

Member Avatar for DaveAmour
0
245
Member Avatar for Priti_P

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?

Member Avatar for DaveAmour
0
1K
Member Avatar for AntonyRayan

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

Member Avatar for jj.dcruz
0
143
Member Avatar for iPoor
Member Avatar for bLuEmEzzy
Member Avatar for bLuEmEzzy
0
120
Member Avatar for Mubsahir Ijaz

How can you tell this is homework? It could be a real business application, I know I'd buy it!

Member Avatar for misi
0
186
Member Avatar for Suzie999

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 …

Member Avatar for DaveAmour
0
249
Member Avatar for Goldilox
Member Avatar for genauso

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?

Member Avatar for rubberman
0
137
Member Avatar for Suzie999

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 …

Member Avatar for DaveAmour
0
214
Member Avatar for ramsiva

Don't you ask this question every day? I can find it in 10 seconds with Google, it doesn't need a discussion!

Member Avatar for Troy III
0
130
Member Avatar for ajayreddy
Member Avatar for Troy III
-1
103
Member Avatar for Emma Etigu
Member Avatar for mark103

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()

Member Avatar for DaveAmour
0
203
Member Avatar for vegaseat

I had a very quick look at the tutorial. Looks like a cross between JavaScript and C.

Member Avatar for vegaseat
0
242
Member Avatar for Kent55
Member Avatar for DaveAmour
0
352
Member Avatar for newcoder310

How are you redirecting to the other page? Could you put the username in the a cookie?

Member Avatar for DaveAmour
0
168
Member Avatar for saxxyblack
Member Avatar for saxxyblack
0
529
Member Avatar for ahmedsa

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!

Member Avatar for DaveAmour
0
247
Member Avatar for tampachris
Member Avatar for Wojciech_1

I think My Articles are ones you started where posts are any posts at all.

Member Avatar for Reverend Jim
-3
219
Member Avatar for TekknoDraykko
Member Avatar for Suzie999
Member Avatar for mattster

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

Member Avatar for pritaeas
2
1K
Member Avatar for krish_1

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

Member Avatar for DaveAmour
0
206
Member Avatar for mattyd

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.

Member Avatar for DaveAmour
0
471
Member Avatar for Wojciech_1
Member Avatar for gangachana

Do you want to do this via ajax/javascript or via a traditional form posting?

Member Avatar for mattster
0
2K
Member Avatar for Michael_35
Member Avatar for samer.aboufakher.3
Member Avatar for yankeefan24

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.

Member Avatar for yankeefan24
0
361
Member Avatar for miazara
Member Avatar for bolfescu
Member Avatar for bolfescu
0
218
Member Avatar for Makara

Just add them seperated with commas eg: $sql1="UPDATE customer SET COMMENT='$_POST[COMMENT]', COMPANY = '$_POST[COMPANY]' WHERE MSISDN='$_POST[MSISDN]'";

Member Avatar for Makara
0
3K
Member Avatar for Mahantesh_1
Member Avatar for SoferSurfa
Member Avatar for Nikki_1

@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!

Member Avatar for overwraith
0
420
Member Avatar for olavbundgaard

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 …

Member Avatar for theodorrinder
-1
1K
Member Avatar for Baba Ki
Re: 42

I think he/she means how not who! God knows about the 42 though!?

Member Avatar for iamthwee
-2
112
Member Avatar for samkri
Member Avatar for TekknoDraykko
0
3K
Member Avatar for CaffeineCoder

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>

Member Avatar for CaffeineCoder
0
288
Member Avatar for someoneelse

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 "

Member Avatar for DaveAmour
0
259
Member Avatar for Violet_82

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 …

Member Avatar for DaveAmour
0
190

The End.