• Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Updating sql table using html form after retrieving the data from sql table

    Print out your sql statement and if it looks ok would be a good place to start. I don't do PHP but the Where statement looks suspicious to me.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Calculator

    help please PART 1: Quiz Version 1, simple quiz [100 marks] a) Your Quiz class will need the following additional methods as shown in the instructions in Quiz.java (See sections …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Calculator

    If you want us to do your homework you could at least post the homework instructuions.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to get Number after decimal

    Apologies I just realised I gave a php link - don't know why I did that. Fortunatley languages are so simillar that my answer is right anyway!
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Idea how to use Windows 8

    Hello all, I am interested using Windows 8 but don't have any idea how to use this. Though I know how to use Windows 7 & XP as well. But …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Idea how to use Windows 8

    You will hate it at first, then find it tolerable then you will love it! Do try putting this on though as it will give you an easier transition: http://classicshell.net/
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to get Number after decimal

    PS - here are some explanations: http://www.w3schools.com/php/func_math_ceil.asp
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching How to get Number after decimal

    Hi i am facing a problem. please any body help me <script type="text/javascript"> $(function(){ $("#timegap").change(function(){ var totalreg=parseInt($("#totalreg").val()); // (500) var numberofcounselor=parseInt($("#couid").val()); //(8) var timegap=parseInt($("#timegap").val()); //(11) var appsperhour=Math.ceil(60/timegap); alert(appsperhour); }); }) …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to get Number after decimal

    Try using Math.round instead
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Running time of algorithms

    what is the Running time of the given code? #include<stdio.h> int main(){ char str[100]; int i=0,j=-1,flag=0; printf("Enter a string: "); scanf("%s",str); while(str[++j]!='\0'); j--; while(i<j) if(str[i++] != str[j--]){ flag=1; break; } …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Running time of algorithms

    It varies considerably depending on how long someone stares at the screen before entering something. Try starting a timer on line 9 and finishing it on line 24 and seeing …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching just a question

    is void a declaration, and are there more other than the int, char, float, string?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in just a question

    void is a return type. In programming languages methods or functions may return something. What type of data they return is usually specified in the method signature. If they don't …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching NEXT BUTTON

    I have a few picture in My.Resources in Vb.Net and I need a next and previous button to change the image . someone help me :)
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in NEXT BUTTON

    Is this WinForms, WPF, WebForms, MVC?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Everyone in the house has fast wireless but me

    Recently our cable provider boosted the internet speed to 15Mb/s down and 2Mb/s up. My son is connected to a desktop through the Cisco router and gets the stated speed. …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Everyone in the house has fast wireless but me

    You can try with a cable or maybe even buy a usb network adapter such as: http://www.ebuyer.com/262952-tp-link-tl-wn822n-wireless-n300-high-gain-usb-adapter-tl-wn822n
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching PHP vs ASP.NET, what is the future?

    Hello to everyone. First of all let me say that I know that there are TONS of threads with the same subject. BUT the other threads are dealing with PHP …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in PHP vs ASP.NET, what is the future?

    If you do decide to try Asp.net then don't bother with WebForms, go straight for MVC would be my advice.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in CVs on DANIWEB

    Or maybe you could increase that 5000 limit just a little :)
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Editorial Articles

    I won't give up my day job just yet then! I'm not in it for the money anyway, I write articles for myslef as a learning exercise so its just …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching CVs on DANIWEB

    I tried to put my CV (Resume) on here. The Import from LinkedIn crashed with the following message: invalid redirect_uri. This value must match a URL registered with the API …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in CVs on DANIWEB

    I still get it and I tried on different machines. Could it be because I am in the UK? Do you want the url mine generates?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Editorial Articles

    Ooooo money, what kind of figures are we talking?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Editorial Articles

    Sorry one more question. Does Article is Currently a Working Draft mean that I can do a little each day and save it for example until it is ready to …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Editorial Articles

    Ok no probs, I have a public flag on my articles as some are just for me - I will just set that to be hidden for any I put …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Editorial Articles

    I have written quite a few tutorial type articles, mainly for my own benefit really. They are on my website but I don't think many people read them due to …
  • Member Avatar for DaveAmour
    DaveAmour

    Created Editorial Articles

    What is this for? https://www.daniweb.com/editorial/contribute Thanks
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Editorial Articles

    What is this for? https://www.daniweb.com/editorial/contribute Thanks
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Apostrophes in SQL statement

    Do a screen shot and do it as an image
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Apostrophes in SQL statement

    Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Apostrophes in SQL statement

    1 and 3 look the same to me
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Cannot post question with code sample

    I've been attempting to post a discussion question for over half an hour, but no matter what I do, I get this error: "The code snippet in your post is …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Cannot post question with code sample

    Hi Post your code and I shall take a look at it. Only kidding. Email it to me and I shall see if I can think of anything - send …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching JQuery form.

    I am trying to submit a form and get a result from an AJAX call. However, the error block is triggered when submitting the form. If I change the <form> …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in JQuery form.

    My bit to add - just have a normal non submit button and wire up to the click event on that.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in CVs on DANIWEB

    Yep I'm sure http://www.paxium.co.uk/daniweb/error1.png http://www.paxium.co.uk/daniweb/error2.png I assume from your incredulity that it works ok for you?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Convert php Script to C#

    Hey you are in the same county as me! Can you show me your html form or sample post data?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in REPLACE ROW WITH COLUMN IN MS SQL

    If you provide me with Create Scripts for the Schema and some sample data I will have a go at it.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Greek letters are not storing in MySQL database.

    Did you create your table like this? CREATE TABLE t1 ( col1 CHAR(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci )
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Message Paradox

    Hi Suzie If I click on your profile there is a send message button. That button is also there if I view my own profile. The button should not be …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in display customer name in drop down list

    You need to get a collection of customers in your model. You do this in your controller and pass the model to your view. For example: var model = new …
  • Member Avatar for DaveAmour
    DaveAmour

    Marked Solved Status for Uploading Photo Error

    I get an errror when trying to upload a profile photo. The upload destination folder does not appear to be writable.
  • Member Avatar for DaveAmour
    DaveAmour

    Marked Solved Status for What are activity points?

    What are activity points and what can you do with them? Thanks
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in CVs on DANIWEB

    Sorry still not working :( The LinkedIn import gives the same error. Any chance you can increase the 5000 limit? Mine is only a bit over that. Thanks
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in i need update my record as added by old value and new updated value

    Is this what you need? ("Update Medicine_Details SET UnitsInStock = UnitsInStock + " & rs3.Fields.Item(3).Value & " where ProductID='" & rs3.Fields.Item(2).Value & "'")
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Things I hate about TV shows

    Sometimes it can be an illegal position - ie someone moves but they are in check. Or someone says it's mate in 3 but it isn't. Or sometimes the players …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Getting Started With C# - The List

    I have been coding in C# for 13 years and happy to help anyone if they need help just ask away.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Rendering Tiles with Effeciency

    What game is this?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Things I hate about TV shows

    I hate films with chess positions or games in which are wrong. I'm a strong chess player and can spot these in seconds and it really winds me up.

The End.