[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

[PHP] Php as an apache module (Phptriad)

2002-03-26 Thread Karina Trincado
PHP is set as a cgi or an apache module.Anye help would be greatly appreciated. Karina - Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards®

[PHP] Phptriad

2002-03-22 Thread Karina Trincado
Hi, I´m new to php. I have installed phptriad in Windows2000 using also IIS5 as an alternative web server. I have tried to test some http authentication scritps but they don´t seem to work. (Using apache I got an internal error and using IIS, i sucessfully show the authentication dialog

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Karina
Yes, it is. This is exactly the problem. Do you know a way to solution this ? Thks, Karina --- I'm not sure I fully understand the problem, but I think I can have a guess at it based on my past experiences... if you have a php page that starts a session with session_start

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Karina
Yes, the result is returned... the problem is that i have to refresh the page to see it or use it in a query. Karina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado
of the queries, otherwise the page source shows data missing... post operation... refresh... Please, how can i avoid the manual refresh ? Karina Gomez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina
than somebody can give me some ideas... because this is driving me crazy.. THks, Karina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina
is in blank. If i check the page source in my browser options, the source says: data missing... you need to reload.. bla bla bla I hope this explanation helps. Karina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado
again with the problem i discovered that the problem is that the reload is needed when i use the session variables in the queries, otherwise there are not problem. Even if i only want to display the session variable in the result page, i need to do a reload. Karina wrote: Well, I don't

[PHP] Submit of a Form needs reload the page to display results

2001-10-01 Thread Karina Gómez Salgado
form, i get a blank page, if i check the source code in the browser, it shows Data missing... form post operation.. bla bla, so i need to reload the web page for showing the correct query results. This is very inconvenient for my users, Any help will be greatly appreciated. Thanks.. Karina

[PHP] Submit Form needs reload the page to display results the first time

2001-10-01 Thread Karina Gómez Salgado
Help. Karina Gomez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Newbie! Submit Form needs reload the page to show results the first time]

2001-10-01 Thread Karina Gómez Salgado
help will be greatly appreciated. Thanks.. Please Help. Karina Gomez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General