[PHP] Window open.

2001-10-05 Thread Johan Vikerskog (EMP)
I have yet another PHP question! =) How do i open a window in PHP and how do i insert information in it? I have a tables with a a href.. that i want to open up a new window with that displays information to the user if i clicks the link. I want everything to be in the same function. I can solve

[PHP] imageJPEG problem.

2001-09-25 Thread Johan Vikerskog (EMP)
When trying to use a simple code like this below i receive an error which says that it cant find the header. ? Header(Content-type: image/jpeg); $im = imagecreatefromjpeg(./test.jpg); Imagejpeg($im,'',20); ImageDestroy($im); ? It outputs the information in ascii and binary code. it

[PHP] Image location question.

2001-09-25 Thread Johan Vikerskog (EMP)
I have a question. I have created an image with imagecreatefromjpeg I have a empty page and i want to display the picture at a specefic location at the page. Does anyone know how to do that? With regards //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Question.

2001-09-06 Thread Johan Vikerskog (EMP)
I have done this before but my memory fails me. I am trying to just loop threw ny array and display it. one row per result. How do you do that again? //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Re: Question.

2001-09-06 Thread Johan Vikerskog (EMP)
ok i have this: ?php include ../config.php; $result = mysql_query(SELECT os from sdb_entries); while($row=mysql_fetch_array($result)) { $os = $row[os]; echo $os; } ? Now i want the echo to make a new line instead of putting everything into one large chunk. Help?!? //Johan the senile

[PHP] Carriage return.

2001-09-05 Thread Johan Vikerskog (EMP)
My php script is generating a file that is saved in Unix format. I automatically get the ^M in the end of everyline. Is there a way of saving this without getting the ^M in the end of each line? Thanks in advance //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Carriage return.

2001-09-05 Thread Johan Vikerskog (EMP)
]] Sent: den 5 september 2001 10:29 To: Johan Vikerskog (EMP); php_list Subject: Re: [PHP] Carriage return. On Wed, 5 Sep 2001 17:22, Johan Vikerskog (EMP) wrote: My php script is generating a file that is saved in Unix format. I automatically get the ^M in the end of everyline. Is there a way

RE: [PHP] Carriage return.

2001-09-05 Thread Johan Vikerskog (EMP)
if there is a built in function of some kind that will do this. //Johan -Original Message- From: Jon Farmer [mailto:[EMAIL PROTECTED]] Sent: den 5 september 2001 11:44 To: Johan Vikerskog (EMP); php_list Subject: Re: [PHP] Carriage return. My php script is generating a file that is saved in Unix