dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: marcus2769

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    683

    Correct you are. Concatenation was my problem,...

    Correct you are. Concatenation was my problem, although I solved it this way:

    <?php
    function myfunction(){ print 'HELLO<br>'; }
    print 'LINE 1<br>LINE 2<br>'; myfunction(); print 'LINE 3<br>';...
  2. Replies
    5
    Views
    683

    It seems that when called, the function executes...

    It seems that when called, the function executes where it is defined as opposed to where it is called (see example below). Is this a new behavior in PHP 5?

    <?php
    function myfunction(){ print...
  3. Replies
    5
    Views
    683

    Function called when defined

    I have the following in tester.php:

    <?php
    function myfunction(){ print 'HELLO<br>'; }
    print 'LINE 1<br>LINE 2<br>'.myfunction().'LINE 3<br>';
    ?>
    This is what I expect to see:
    But instead I...
  4. Replies
    1
    Views
    3,692

    imagecreatefrompng() and transparency

    I am using imagecreatefrompng() to create thumbnails for images as part of an image gallery uploading script. Everything works as expected (dimension, saving the PNG file where I want it, etc) but...
  5. Replies
    2
    Views
    2,214

    Thank you, that's exactly what I was looking for...

    Thank you, that's exactly what I was looking for :).
  6. Replies
    2
    Views
    2,214

    Links - "up one level"

    I have a pretty simple question and I would like to know if I could do this as part of an a href tag.
    Say I have the following setup:

    http://www.site.com/folder1/folder2/folder3/page.html (not a...
Results 1 to 6 of 6
HTML5 Development Center



Recent Articles