[PHP] dropdown box displays empty rule

2004-08-14 Thread fkeessen
Dear all, Can you have a look at the following problem; If the value $selected is filled with a value it must be matched against $rowu->naamreis. If it's matching then it must be the SELECTED value in the drop down box.. The problem is that it displays now a blank rule.. while($rowu=my

[PHP] Problem with submit form if type is image

2004-08-14 Thread fkeessen
Dear all, Can you please help me with the following? I have written the following script: If i have a input type image; the script doesn't go to the prospect2.php. If i have a input type=submit everything works super! Can someone help me? Frank _

RE: [PHP] PDF File generation on Fly in PHP

2003-10-28 Thread fkeessen
Hi, Have you already checked out www.fpdf.org? Regards, Frank >Hello, > >I've just came through a function which generates PDF files on fly in a php >script. >On going through the documentation, I came to know that It needs to be >compiled in a different fashion using a configure parameter. > >I

Re: [PHP] Random selection

2003-08-23 Thread fkeessen
Hi, Thanks for the answer.. I'm open for faster ways!!! >BTW, if a value appears multiple times in a database column then your >database may be a good candidate for normalisation. Problem i'm selecting some holidays out of an database but I want to avoid that there are holiday's presented from

[PHP] Random selection

2003-08-23 Thread fkeessen
Hi, Can you help me with this one?? In my mysql db i have a colum called names; In names their are: Frank Frank Bob Alice Bob Alice Jim Alice Frank I want to make a random selection (max 3 value's for example).. Only it may not produce two times the same name. For example; This is the outpu

[PHP] INT Field in mysql display without .00

2003-07-16 Thread fkeessen
Hi All, I think it's a simple one but... Very hard for me! I've got prices in MYSQL. Field is formatted as INT(5,2).. So output is for example 100.00 . Now i want to ECHO the field as 100.. How to achief this one? Because when i'm echo'ing the field is shows up as 100.00 . Thanks for the help!

[PHP] Limit output of query field

2003-07-05 Thread fkeessen
Hi there, Hope you can help me with the following: I have a query and i'm showing the output: echo $row->text; That goes o.k. but the text is 400 characters long and I only one to show the first 50 characters and at the end showing ... dot's.. Help! Thank you very much! Frank -- PHP Gener

RE: [PHP] Array in a $_session

2003-06-17 Thread fkeessen
Dear all, Finnaly managed it (it's working! :>)... But can you check if this is the way? (step1.php) > Reiziger Voorletters "; ?> (STEP4.PHP) '; ?> Regards, Frank >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: 17 June

Re: [PHP] Array in a $_session

2003-06-16 Thread fkeessen
Hi Jason, Maybe you can make it a little bit clear for me? >You have not defined $i, so what did you expect to see here? >> session_start(); >> $aantalpers=$_SESSION["aantalpers"]; >> $test1 = $_SESSION['test1'][$i]; > So is it going to be: $test1[$i ]= $_SESSION['test1'][$i]; ??? Regards, F

[PHP] If else.. display no picture..

2003-04-05 Thread fkeessen
Hi, I'm trying to do the following.. When $stadpict is filled in it must display the picture (only the path to the picture is stored in Mysql). But when the string ($stadpict) is empty then it must not display the picture (and also not display a box with a red cross in it (can't display picture

[PHP] dynamic form input fields

2003-02-07 Thread fkeessen
Hi, Does anyone have a working example or a hint in the right direction for the following; I have a form where the user selects for example; how many cars you have: 4. Then it most dynamicly create 4 input fields (with different names) in the form where they can fill in the car brand and also

[PHP] Dynamic input fields in Form

2003-02-07 Thread fkeessen
Hi, Does anyone have a working example or a hint in the right direction for the following; I have a form where the user selects for example; how many cars you have: 4. Then it most dynamicly create 4 input fields (with different names) in the form where they can fill in the car brand and also