Search found 21 matches

by slade27
Sat Aug 11, 2007 9:16 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

Get a little more specific smurf so i can sue youp
by slade27
Sat Aug 11, 2007 9:15 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

Please someone ban me so I don't accidentally show up here again. What a bastard: Doesn't have to answer the question so he takes time out to tell me he won't help me -- then when I tell him the time I've spent, he as much as calls me a liar
by slade27
Sat Aug 11, 2007 9:13 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

Maybe the fact that nobody can help me out shows that it's not the easiest question in the world -- why don't you rant against the people who couldn't help me with this easy problem
by slade27
Sat Aug 11, 2007 9:11 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

Sorry. I though this was a forum to find help. Seems it's just a forum to have one's integrity impugned and then condescendingly told to beat it.


MOROn!@J@JN:KLE'cb,./ xcvdb ZXVçΩ
by slade27
Sat Aug 11, 2007 9:09 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

ADIEU to this FORUM

GROW UP
by slade27
Sat Aug 11, 2007 9:08 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

I don't have any witnesses: I'm sorry you find it so hard to believe that I'm not as smart as you.

If you don't want to answer my question, DON'T.

JESUS CHRIST!
by slade27
Sat Aug 11, 2007 3:04 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

I'll keep trying then, but I'm obviously missing something basic and perhaps rather simple, so if anybody can "pick it out" I'd appreciate it, as I've been working on this problem all morning and have already searched the recommended topics extensively. Don't get me wrong: I'm not saying t...
by slade27
Sat Aug 11, 2007 2:57 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

I'll give it a shot. I've read dozens of pages about appropriate header usage, however, over the last three hours -- MIME sounds like what I need, but everyone talks about it only in the context of e-mail.
by slade27
Sat Aug 11, 2007 2:43 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

I added the following immediately before the php portion, but I still get junk when I reach the portion where the on-the-fly image is referenced. <html> <head> <meta http-equiv="content-type" content="html/text; charset=utf-8" /></meta> </head> I am not working with e-mail. I am ...
by slade27
Sat Aug 11, 2007 2:09 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

When I remove that html text, I still get stuff like this at the point where the on-the-fly image should appear: �����JFIF���������>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality ���C� $.' ",#(7),01444'9=82<.342���C 2!!22222222222222222222222222222222222222222222222222�������"...
by slade27
Sat Aug 11, 2007 1:23 pm
Forum: PHP - Code
Topic: Trouble Displaying Images using PHP Script
Replies: 20
Views: 1579

Trouble Displaying Images using PHP Script

Greetings, I am a php newbie, but I have successfully created two different kinds of scripts so far: one that generates links with info pulled from a database, and one that creates an image "on the fly" using info pulled from a database. My problem is, I am now trying to include the two op...
by slade27
Sun Jul 08, 2007 5:41 pm
Forum: PHP - Code
Topic: Newbie needs help using MAX function
Replies: 2
Views: 226

Newbie needs help using MAX function

I'm a newbie having trouble understanding the proper use of the MAX function. I've seen a lot of examples online, which I've tried to apply in my case, but so far no luck. Could someone please look at the latest incorrect ways that I've tried to use the function below and tell me where I'm going wro...
by slade27
Sat Jul 07, 2007 3:58 pm
Forum: PHP - Code
Topic: PHP snippet not working inside html background tag
Replies: 5
Views: 506

Oh

In fact, I think just posting that last bit of info shows me the problem. I think my variable contains html code that is inappropriate for inclusion in the table html I'm trying to create.

Thanks, I think you've helped me see the problem just by requesting that info!

Brian
by slade27
Sat Jul 07, 2007 3:55 pm
Forum: PHP - Code
Topic: PHP snippet not working inside html background tag
Replies: 5
Views: 506

Follow-up info

The actual background data stored in the database under the variable "background" looks something like this:

<body background="http://www.mysite.com/background/food.gif">
by slade27
Sat Jul 07, 2007 3:49 pm
Forum: PHP - Code
Topic: PHP snippet not working inside html background tag
Replies: 5
Views: 506

When I use the following, for example, the screen loads with the background image specified in the record in my database where the $ID = '4': $ID='4'; $sql="SELECT * FROM Articles WHERE ID LIKE '$ID'" ; $result = mysql_query($sql); while ($row = mysql_fetch_assoc($result)) { echo $row['bac...