Jump to content

sinfield

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sinfield's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, I managed to work it out. The script was sending headers to the browser. Since all I need it to do is to output the png to a file, rather than to the browser, I just commented out the header declaration. All is well now. On to further refinements!
  2. I am trying to assign a variable "$fullname" from database, and then output that variable text content to png. The $fullname script works if I echo it to the screen. And the text-to-png part works if I either manually declare the text to be transformed or if I manually declare the value of the $fullname variable (see commented test in code). But if I use two together to dynamically set the value of the $fullname variable, it does not work. Is there something glaring and obvious I am missing? I know the query is not pretty. The DB schema I am working with is ... bad. But it is what I have to work with right now. Here's my code: I was unable to post code, so check it here: [a href=\"http://bogobug.com/uname_to_png.txt\" target=\"_blank\"]http://bogobug.com/uname_to_png.txt[/a]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.