[PHP] Use include function (newbie)

2003-10-17 Thread Karina S
I make a site where I list data from a mysql database. I want to divide the task into 2 parts. The 1. php is the logic.php an the 2. is the html table (html.php) with field values. I plan that the form action in the html.php file call the logic.php but the logic.php includes the html.php. I mean:

[PHP] Submit button

2003-09-28 Thread Karina S
Hello, I want to use an image as submit button on my form. Now I use the following code with button: if (!(isset($_Post['SubmitForm']))) { ... . input type=submit name=SubmitForm value=Submit } else { . } Is it possible to change the Submit button with an

Re: [PHP] Submit button

2003-09-28 Thread Karina S
] On Sun, Sep 28, 2003 at 12:49:27PM +0200, Karina S wrote: : : I want to use an image as submit button on my form. Now I use the following : code with button: : : if (!(isset($_Post['SubmitForm']))) : { : ... : . : input type=submit name=SubmitForm value=Submit

[PHP] Back function with php

2003-09-27 Thread Karina S
Hello, how can I go back to the previous php page from where the actual page was called? I want to know not only the file name but the parameter list too. (I mean I want demo.php?p1=1p2=2p3=s and not only demo.php from second.php which was linked on demo.php?p1=1p2=2p3=s) Thanks! -- PHP

[PHP] Open new browser window

2003-07-10 Thread Karina S
Hello, I want to make a php application, which displays different text in separate windows. I mean for example a new window will open with text Hello 1 and a second window opens with text Hello 2. How is it possible with php? Thanks! -- PHP General Mailing List (http://www.php.net/) To

[PHP] print html code

2003-07-02 Thread Karina S
Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I use htmlspecialchars() function. It works fine, but now I have to add about 200 lines of static html code to print it out. If I put all of the code in a string than it will

[PHP] Session problem

2003-06-24 Thread Karina S
Hello, I have a problem with php sessions. The following code works on my home PC but doesn't work on my office PC. What can be the problem? Thanks! I have 2 files: file1.php: session_stert(); $_SESSION['demo']=test; and file2.php session_start(); echo $_SESSION['demo']; I use PHP 4.3.2.

[PHP] Form creator tool

2003-06-23 Thread Karina S
Hello, I have to make a lot of input and edit form to mysql tables. Is there any tool with it I can easy make php based html forms? I mean eg.: User can select fields from mysql table and the tool generate an input or an edit form to it. Thanks! -- PHP General Mailing List

[PHP] Disaple warnings

2003-06-17 Thread Karina S
Hello, I have the following code: if (file_exists(themes/$ThemeSel/modules/$name/$mod_file.php)) { $modpath = themes/$ThemeSel/;} At home on my PC (WinXP+PHP4.3.2) this code works without warnings. But in my office (Win2000+PHP4.3.0) I always becom warnings for this line and in case of any

[PHP] Which link was selected?

2003-02-03 Thread Karina S
Hi, I put pictures from a database ont the page about my products. If the user click on a picture I want to give a detailed description about the product. But how can I get, which picture was selected? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Global structures (newbie)

2003-01-31 Thread Karina S
Hi, I'm a beginner in PHP and I want to access some variable all of my php sites. I want to order them in an array, class,... Eg.: User.Name User.Phone General.Info Camera.Type Camera.Class ... What is the most secure and beautiful solution for that in PHP? Can I add an array into the $_SESSION

[PHP] image source from PHP

2003-01-23 Thread Karina S
Hello, I want to make a sit where an image comes from a database. In the db I store only the filename and path. I have the following code: ?php $ps = 'Pic/'.$row_photos['Photo_File_Name'].''; echo $ps;? img src=?php $ps; ? The echo line print the good string e.g.: Pic/Myphoto.jpeg But