Search Result

Collapse
4 results in 0.0037 seconds.
Keywords
Members
Tags
quotes
  •  

  • londres9b
    started a topic How can I set some code to be a variable?
    in PHP

    How can I set some code to be a variable?

    I need help using quotes on PHP.

    I have this code:

    Code:
    <?php
    $myfile = "$xxx.txt";
    $work = fopen ($myfile, "r");
    $hits = fread ($work, filesize($myfile));
    fclose ($work);
    echo "xxxx: <b>$hits</b>";?>);
    $filenameb = "stats.php";
    $fdb = fopen ($filenameb, "a");
    fwrite ($fdb,$contentsb);
    ...
    See more | Go to post

  • Question about "Quotes (') and Double-Quotes (") - Where and When to use them"

    DoCmd.RunSQL strSQL

    I thought there were some restrictions on what types of SQL you could run with this command. Source

    ** Admin Edit **
    This thread pertains to the article Quotes (') and Double-Quotes (") - Where and When to use them.
    See more | Go to post
    Last edited by NeoPa; Jul 1 '10, 12:39 PM. Reason: Added link to article.

  • sixtyfootersdude
    started a topic print("@input") VS print(@input)
    in Perl

    print("@input") VS print(@input)

    Good Morning!

    I am just starting to learn perl and I am somewhat mistifide about when I should do:

    Code:
    print("@input");
    and when I should do:

    Code:
    print(@input)
    Coming from Java I would do:

    Code:
    for(int i=0; i<array.length;i++){
      System.out.print(array[i]);
    System.out.println();
    I cannot figure out why the print with the quotations...
    See more | Go to post

  • dgriff80
    started a topic strip html but keep ' & ""
    in PHP

    strip html but keep ' & ""

    hello all!

    I am using a form that a user can fill out but for security reasons I want html stripped out. If the user inputs html, I want it to kick back saying something to the fact that it had html removed. What I have works just fine with one exception, I want people to be able to use

    Code:
    <?php
    $RemarksPure = Trim(stripslashes($_POST['remarks']));
    $Remarks = addslashes(preg_replace('#</?\w[^>]*>#',
    ...
    See more | Go to post
Working...