[PHP] Easy array stuff I think for those who can I guess.

2002-12-05 Thread Raymond Lilleodegard
Hi! I am trying to get out a value of an array that I have made from a query and deliver the value into a variable. I have made this code. Am I totally lost? while ($myrow = mysql_fetch_array($result)); { $id = $myrow['id']; $deltaker[] = array ($id); } $limit = count($deltaker); $finn_v

[PHP] How to get linefeed from textfields registered in mysql?

2002-10-28 Thread Raymond Lilleodegard
Hi! I have made a guestbook to my website driven by php and mysql. But I don't know how to get the text as it is written in the textfield before it is sent to mysql. So is it possible to save the "hits on enter" in the database? Best regards Raymond -- PHP General Mailing List (http://www.ph

Re: [PHP] How to get linefeed from textfields registered in mysql?

2002-10-28 Thread Raymond Lilleodegard
vert the \r to \n before you put it into the DB. > > > On Mon, 28 Oct 2002 19:30:15 +0100 > "Raymond Lilleodegard" <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > I have made a guestbook to my website driven by php and mysql. > > > > But I

[PHP] Re: Add picture in DB

2002-10-28 Thread Raymond Lilleodegard
Hi! I'm not sure about your error, but I have heard that it's best to store the filepaths in the database. Best regards Raymond "Christian Ista" <[EMAIL PROTECTED]> wrote in message news:01c27ec2$ad371a60$0200a8c0@;p3portable... > Hello, > > I have a form, with 2 inputs ( a type "file" and a

[PHP] Does anyone know if this is possible?

2002-11-04 Thread Raymond Lilleodegard
Hi! I have made a website with a webshop and the orders are written down in txtfiles and a faxserver is scanning a directory for txtfiles and sends them as faxes. So I am trying to write the txtfile like I should have written the order in a table. Or you can say I am trying to make some columns i

[PHP] Re: Does anyone know if this is possible?

2002-11-04 Thread Raymond Lilleodegard
Ok! I think I will try a little more to get it work with php first, but it is a good idea you have here. Thanks! : ) Raymond "Joel Boonstra" <[EMAIL PROTECTED]> wrote in message news:Pine.LNX.4.44.0211041703230.11800-10@;amos.gf.gospelcom.net... > Hi Raymond, > > > I have made a website with

[PHP] Simple question I guess.

2002-07-22 Thread Raymond Lilleodegard
Hi! I have a site with all my movies and stuff stored in a database. And I have made a admin page where I can add, delete and update records. When I add new records, I have made a listbox for the category (ex. action, comedy etc.) so I dont have to write it every time I add a new record. But when

[PHP] dynamic variables in sq?l

2002-01-25 Thread Raymond Lilleodegard
Hi all! I have this form with some choices: Enter how many cars you want: ford bmw mercedes And then I am trying to get the price out of a table in my database with this code: $sql = mysql_query("SELECT '$car' FROM varetabell where carid='$carid' "); $myrow= mysql_fetch_array($sql); $x = $

[PHP] Re: dynamic variables in sq?l

2002-01-25 Thread Raymond Lilleodegard
Than you very much for all help! I see that my database design is a little dumb, so I'll just make another one. Best regards Raymond "Raymond Lilleodegard" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all! > &

[PHP] Is this possible?

2002-02-06 Thread Raymond Lilleodegard
Hi! I have this tricky case, at lest for me : ) I'm trying to get some data out of two tables and listing the data in a product/price site. But. : I have one table with productinfo and one with prices. And it is several columns with the same id in the pricetable, because every product have

[PHP] Sitenavigation

2002-02-09 Thread Raymond Lilleodegard
Hi! Is i possible to make a function that makes a prev and a next link on the page if it returns, say over 20 rows or hits in a query? Could anyone give me a hint if they know how to? Best regrds Raymond -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Re: must I use var

2002-02-17 Thread Raymond Lilleodegard
Hi Peter! The "var" $somevariable means that the variable is defined. You only need to use var in classes. So if you only write ordinary scrpits, you dont need to use it. Regards Raymond "Peter J. Schoenster" <[EMAIL PROTECTED]> wrote in message 3C6FC20B.3856.610F245@localhost">news:3C6FC20B.38

[PHP] Using an external program.

2002-04-21 Thread Raymond Lilleodegard
Hi all! I am trying to interact with a simple exe program. I manage to get the program started, but I need to send some commands to it as well. My script looks like this: And do I need to run the exec() function everytime I would like the program to do some work for me? Is there a way to acces

[PHP] How to convert a website to a txtfile....?

2002-04-06 Thread Raymond Lilleodegard
done this before? Thanks for all help! Best regards Raymond Lilleodegard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Doesn't php_printer.dll work?

2002-04-11 Thread Raymond Lilleodegard
Hi! Does anyone know how to get the printer.dll to work? I have tried to remark the extensions in php.ini but without any luck. And I am running win2k so I cant see why it shouldn't. Best regards Raymond -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
Thanks for answering. But this only works if the customer orders one of each. Do you know how to do it if, lets say the customer order 2 hamburgers and nothing else? Raymond "Raymond LilleøDegåRd" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > > I'm

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
MAIL PROTECTED]... how about... Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message----- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 1:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: A tricky one? Thanks

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
al!="") instead of &&(isset($var) Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -----Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: A tricky one? It works after

[PHP] send fax with PHP?

2001-11-28 Thread Raymond Lilleodegard
Hi! I have tried to find some functions to send fax with, but without any luck. Does anyone know how i could do this? Best regards Raymond Lilleodegard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Sending fax with php, is it possible?

2001-11-29 Thread Raymond Lilleodegard
Hi all! I have a little problem here : ) A customer wants a order made by a forminput sent to fax. Is it possible with php? Or do I have to do it some other way? Best regards Raymond -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Sending fax with php, is it possible?

2001-11-29 Thread Raymond Lilleodegard
Thanks, that sounds great! I have to admit that i am pretty new with this php language. But to get this work, I have to use a "faxprogram"? and then send the forminput to this program? That redirect the data to a fax? I'll see what kind of program I can get. "Jani Mikkonen" <[EMAIL PROTECTED]>