• Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Remove white spaces in a string

    Will this work? $result = str_replace(' ', '', $input);
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Theres something wrong with my keyword cipher

    For my computing GCSE course i had to create a keyword cipher and most of my class did it in VB console, so so did it. Little did I know, …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    A cypher is an algorithm for encrypting/decrypting. Why are you adding two strings - AB + AB - I don't understand that. Can you explain please?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Programmatically creating pictureboxes?

    If I need to repeatedly create a picturebox of the same image, I understand that one way of doing so is creating an array of pictureboxes and then making one …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Programmatically creating pictureboxes?

    You can embed images into your program yes using Resources. Is this a Winforms App?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in SQL on VB help

    My Skype name is dave_amour
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in facebook like check

    Because Facebook likes should be given because someone likes your site. If they have to like your site to use it then that is abusing the system. Its pretty simple …
  • Member Avatar for DaveAmour
    DaveAmour

    Marked Solved Status for Missing Private Message

    Hi Dani - I sent you a message and I got an email saying you replied but I have nothing in my Inbox :( Any ideas?
  • Member Avatar for DaveAmour
    DaveAmour

    Marked Solved Status for Editorial Articles

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

    Began Watching facebook like check

    Hi I have a page named 'xyz'. and I have a webpage xyz.com Now I want that visitor must like my page to view my web site. So I need …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in facebook like check

    I don't have a FB account, can I view your site? Also how will you know who the user is? This is an awful idea!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in SQL on VB help

    Yes you just install SQL Server and the couple of other steps I mentioned, that's all. You can try me on skype but not today as I'm working. Tomorrow is …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Get difference in minutes

    Does this kind of thing help? $start_date = new DateTime('2007-09-01 04:10:58'); $since_start = $start_date->diff(new DateTime('2012-09-11 10:25:00')); echo $since_start->i.' minutes<br>';
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Get difference in minutes

    my firstvariable is and second variable is $one=07:54:PM; $two=07:55:AM; I am suffering from getting difference in munutes any body help me result in minutes.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Get difference in minutes

    Its 1
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching without form submit and javascript

    i want to store input text box value into php variable without form submit and without using ajax,js,jquery etc., is it possible??
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in without form submit and javascript

    You can do it via querystring or via a cookie but it still requires a trip to the server of course.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Clearing All Fields on a Form Except for One?

    Hello. I have one question. I have a form which I wish to clear all fields upon refresh/reload (*except one field*). Using onload and onunload, all fields are cleared but …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Clearing All Fields on a Form Except for One?

    You will of course need to make sure jquery is included in your page and your code is within script tags etc.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Temporary tables records not invisible in html page

    when i run select on temporary table in mysql it gives all records. But when i tried in my php page it give blank reason. Please help me out.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Temporary tables records not invisible in html page

    "Temporary tables records not invisible in html page" should be "Temporary tables records not visible in html page"!
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching What are you eating/drinking right now?

    Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in What are you eating/drinking right now?

    A sports direct mug of coffee. Kick starts me each morning! http://1000heads.com/wp-content/uploads/2013/02/mug.jpg
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Where did i put the "Employee already Exist? Help me.

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Call validation() Select Case valid Case False Exit Sub End Select Try Dim FileSize As UInteger Dim mstream …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Where did i put the "Employee already Exist? Help me.

    You don't want all that code inside a button click event handler. Break your code up into discrete classes and methods of specific functionality. It will make everything much easier. …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching ckeditor

    Hello, I am looking for ckeditor that's able to upload image from computer directly without url - unfortunately there is license on it. What about tinymce also works the same …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in ckeditor

    Hi I use TinyMCE and its great and easy to use. Not sure what you mean by "able to upload image from computer directly without url"? Can you clarify that …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in SQL on VB help

    You can run it on a PC or Server. There are different versions. There are all the express versions which I think are free and then for the full blown …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching How to connect my VB6 to Access Database? And how to update fields?

    I have a problem in updating my textfields in the table I posted in my form. For example for my inventory system, I want the QUANTITY of my products to …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to connect my VB6 to Access Database? And how to update fields?

    How you define "SALES are performed" - is that via someone filling in a form and clicking a button?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching SQL on VB help

    Hi Daniweb users :) Im having a problem over here :( Im developing a application on VB and currently using MySQL to connect to a online database but Microsoft(on Albania) …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in SQL on VB help

    I may be able to help but I'm not clear on what you are actually asking for. Can you clarify/summarise what you need?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Looping JavaScript

    If it is then just check if certain things are in the query string and only run the JavaScript if they are not.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching While loop fileread problem

    Hi dear friends, My current problem regarding inputstream value processing . I don't get the block level full value as shown in loop.I got last byte value only cipher.init(cipherMode, publicKey); …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in While loop fileread problem

    I don't do Java but could it be that you need: while ( (bufl += inputReader.read(buf)) != -1) or something along those lines?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Looping JavaScript

    Hi I am having a bit of a problem with some JavaScript and PHP. The script (below) works exactly as wanted, but if I run it with the latest version …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Looping JavaScript

    Is prayer-times.php the same page - ie are you redirecting to the same page?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in LOAD XML LOCAL INFILE

    Well you took that well, better than anticipated :)
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching LOAD XML LOCAL INFILE

    Hi, I am working on a test site locally. I am loading an xml file into my database with teh following sql query: LOAD XML LOCAL INFILE 'C:/courseInfo18.xml' INTO TABLE …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in LOAD XML LOCAL INFILE

    This probably won't help and will only annoy you but always develop with the versions you are deploying to!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in A Small Problem Involving a Label

    I know it works perfectly but I feel so dirty now!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in A Small Problem Involving a Label

    Dirty hack but you can try `<label style="position: relative; top: -44px; left: 200px">State:</label>`
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Match pattern

    Take pattern from one file and search for that pattern in second file if doesnt present copy that pattern into the another file
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Match pattern

    .
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Missing Private Message

    Yep that sounds about right. Sorry I seem to have a knack for causing trouble!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Missing Private Message

    Ok I see. Well I did join a few years back but then also rejoined when I couldn't get my login to work so it's probably for that account but …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in A Small Problem Involving a Label

    You can hit F12 in most browsers and see what CSS is in action to help diagnose. Source control is so easy to implement, can't recomend it enough.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching A Small Problem Involving a Label

    Hello. I am having a small problem involving a text label not displaying correctly over a field. It was fine until about a week ago; I believe I must have …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in A Small Problem Involving a Label

    Should it have a for attribute? Do you not have source control - if so you can check what has changed!
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching php like button

    Hello everyone im working on like button which im a little confuzed with my problem i have this sql and im only able to like the tickets which are in …

The End.