dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Atrisa Milani

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thanks a lot. With one else statement for the...

    Thanks a lot. With one else statement for the writing part, the code did the trick. You are right. Using database would have been a better choice, but the person for whom I made this app wanted the...
  2. Added that part too. Don't know if that's the...

    Added that part too. Don't know if that's the right way to do it or not, but it's not working yet. Here is the code with the fix:


    <?php
    $keys = array('Name','Email','Phone');
    $csv_line...
  3. PHP: write to file if a string doesn't exist there

    Hi,

    I have a PHP file that writes form inputs into a csv file. I redirect user to a thank-you.php page when they fill the form for the first time. If user tries to fill the form again, I want to...
  4. I am a front-end developer and actually no that...

    I am a front-end developer and actually no that good with server side scripting, so appreciate if you could tell me how to. What you suggested, is it to be done with PHP or server side JS?
  5. The file is a .csv file on a server and has about...

    The file is a .csv file on a server and has about 200 lines. On a html page I have an image, and what I am seeking is that if in that csv file there are, let's say 50 occurrences of a specific word,...
  6. Count the occurrences of a word in a file

    Is it possible to count the occurrences of a specific word in a file using JavaScript? If yes, how to do that?

    Thanks in advance
    Atrisa
  7. Thanks you both Sup3rkirby and JMRKER for your...

    Thanks you both Sup3rkirby and JMRKER for your replies. The URLs are not predictable as Sup3rkirby mentioned; one URL could be e.g www.example.com/nature/animals/rabbit/white.html and the other could...
  8. Avoid writing nasty IF statement for a large list

    I have about 50 pages each with different URL (url1.html, url2.html, url3.html and so on). I want to do so that if user is on any of these pages gets a message. The message is the same. Like this:
    ...
  9. Replies
    5
    Views
    1,557

    Thank you all for your replies and comments. I am...

    Thank you all for your replies and comments. I am building the optout app on a marketing software. The markering software has millions of users who have registered with it for digital marketing...
  10. Replies
    5
    Views
    1,557

    Email Optout

    I need to create an email optout application with JavaScript. Haven't done this kind of app before. So I appreciate it if you could tell me the steps to go around this.

    I am not a JS guru either....
  11. Thanks Khalid. Actually I have figured out what...

    Thanks Khalid. Actually I have figured out what to do. I will come back here if I face difficulties on the way :)
  12. Why is everyone so silent? Is this a difficult...

    Why is everyone so silent? Is this a difficult question; is it unclear or is it an irrelevant question? Say something. we can't advance this way :)
  13. Batch processing in Java: billing online purchases

    Hi everyone! I am writing my first serious batch processing application. The task is to create a bill from online purchases. The customer's purchase data are stored in a database. I have to create an...
  14. Got it working like this: if (hidden_field...

    Got it working like this:


    if (hidden_field == "") {
    MailServiceUtil.sendEmail(mailForm);
    }
  15. JSP: Do not submit form if hidden field is filled

    Hi. I have a hidden field with name field_hidden in the form to stop spammers. If this field is filled, I want the form to be discarded or not submitted. How to say this in JSP:


    if...
  16. No problem. Yep, I removed those tags....

    No problem. Yep, I removed those <br /> tags. Thanks again.
  17. Got it working. Had to add the tags. That...

    Got it working. Had to add the <table> tags. That easy.
  18. Thanks alot bionoid. Now it works fine. One more...

    Thanks alot bionoid. Now it works fine. One more question; I want to have those inputs inside <tr> and <td> tags, but the code seems to ignore them. When I look ad the browser's source code, they are...
  19. Adding multiple fields by clicking a button

    Hi. I have a form where I want to be able to add two consecutive fields for five times.


    <script language="javascript">
    fields = 0;
    function addInput() {
    if (fields != 5) {...
  20. Replies
    12
    Views
    5,981

    This did the trick: $data = utf8_encode($data);...

    This did the trick: $data = utf8_encode($data); Looked like the data was in ISO-8859-1 and had to convert it to UTF-8. Thanks for your help so far.
  21. Replies
    12
    Views
    5,981

    Thanks for the reply. I have that meta tag in the...

    Thanks for the reply. I have that meta tag in the first page; also tried ini_set('default_charset','UTF-8'); but still the same problem. My code looks like this:


    function getData ($url) {

    ...
  22. Replies
    12
    Views
    5,981

    Thanks speghettiCode. I now get the report out. ...

    Thanks speghettiCode. I now get the report out.

    One question yet: the report is using Scandivian characters such as and . The report looks fine on the URL in the browser, but when I get the...
  23. Replies
    12
    Views
    5,981

    Found the reason. Problem was not in the code,...

    Found the reason. Problem was not in the code, rather in our environment.
  24. Replies
    12
    Views
    5,981

    I though the problem was because of the iFrames I...

    I though the problem was because of the iFrames I was using, but that is not it.
  25. Replies
    12
    Views
    5,981

    When searching with a specific ID number, The URI...

    When searching with a specific ID number, The URI for the report with that ID gets printed in the window and not the report. This line is responsible for getting the report:

    echo...
Results 1 to 25 of 37
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles