SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: What the

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What the

    Never seen this one before:

    Fatal error: Call to undefined function: printl() in /www/welcometovernon/coupons/news/news_admin.php3 on line 113


    line 13 reads:
    printl("<center>Are you sure you want to delete %s? <br>", $name[aid] );

  2. #2
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you mean printf() or print()? printl() does not exist in PHP manual.

    John

  3. #3
    SitePoint Addict
    Join Date
    Feb 2001
    Location
    Shanghai, China
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As far as I know there is no valid function printl ("as long as you did not make one of your own"). What you probably mean is "printf" :

    printf
    (PHP 3, PHP 4 )

    printf -- Output a formatted string
    Description

    int printf (string format [, mixed args...])


    Produces output according to format, which is described in the documentation for sprintf().

    [edit] sorry, john was faster than me ;-)

  4. #4
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    omg.... I am so stupid.... I use printf all the time... what was I thinking


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •