dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: maxmitch

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,313

    I tried this but it isn't working... $file =...

    I tried this but it isn't working...

    $file = fopen("1stock.js", "c+");
    $number = fseek($file, 61, SEEK_CUR);
    $fh = fgetc($number);
    fwrite($file, $fh -1);
  2. Replies
    3
    Views
    2,313

    1- fseek number not working

    $file = fopen("1stock.js", "c+");
    $number = fseek($file, 61, SEEK_CUR);
    fwrite($file, $number -1);

    My 61st character is a number I want to do 1- that number. Why is this not working?
  3. Replies
    4
    Views
    1,775

    using the fseek function maybe?

    using the fseek function maybe?
  4. Replies
    4
    Views
    1,775

    I am looking to literally replace the number on...

    I am looking to literally replace the number on exactly the same line. Is that possible with some write function?
  5. Replies
    4
    Views
    1,775

    Best way to change a string

    Hi

    I have a javascript page:



    var quantity_in_stock_S = 2
    var quantity_in_stock_M = 2
    var quantity_in_stock_L = 1
  6. Replies
    3
    Views
    3,911

    Do javascript using PHP

    I have a html page:


    <form action="stock.php" method="post">
    S:<input value="remove" name="removeWS" type="submit" /> </br>
    M:<input value="remove" name="removeWM" type="submit" /> </br>...
  7. Replies
    3
    Views
    2,007

    .write javascript function

    HTML:


    <script src="stock.js" type="text/javascript">document.write(quantity_in_stock_S);</script>


    Javascript (stock.js):

    var quantity_in_stock_S = 10
  8. Replies
    1
    Views
    2,264

    change w to a+

    change w to a+
  9. Replies
    1
    Views
    2,264

    How to not overwrite an fwrite function?

    I have an fwrite function to a .txt file. And every time it is called it overwrites the previous file_contents how can I stop this?

    $f = fopen("textfile.txt", "w");
    fwrite($f, $file_contents);
  10. Replies
    2
    Views
    3,849

    Three PHP questions

    <?php

    // Open the text file
    $f = fopen("textfile.txt", "w");

    // Write text
    fwrite($f, $_POST["name"]);
    //space
    fwrite($f, $_POST["email"]);
  11. Replies
    5
    Views
    4,499

    Can you point me in the direction of getting a...

    Can you point me in the direction of getting a script on a server?
  12. Replies
    5
    Views
    4,499

    How to save entries of a html form?

    I have a form on my website:


    <form>
    Email:<input name="input" type="text" id="Email"/><br/>
    <input value="Log In" name="Log In" type="button" id="Log-In" /></form>

    I want to be able...
Results 1 to 12 of 12
HTML5 Development Center



Recent Articles