[PHP] PHP mail() problem

2007-03-20 Thread Delta Storm
Hi, I'm having problem with character encoding in PHP mail functions. CODE: $headers.= Content-Type: text/html; charset=iso-8859-1; $headers .= MIME-Version: 1.0 ; $headers .= Content-Transfer-Encoding: 8bit.$eol.$eol; $headers .=Content-Type:

[PHP] Joke of the day problem

2007-03-08 Thread Delta Storm
Hi, again me with the silly questions... I need a script that will take data from MySQL database and display one row each day. I have googled, but with no luck. The database retrieving mechanism is of course clear but I really dont know how to do a 24h delay before the next row is

[PHP] Textarea update problem

2007-03-07 Thread Delta Storm
Hi, I'd like to thank everybody who have helped me till now. All your advices were very helpfull... :) But I have a problem again I need to build a script which will have have the following functions: 1.Be able to select 3 columns from a MySQL database(idnetify the columns by ID) and put

Re: [PHP] Textarea update problem

2007-03-07 Thread Delta Storm
[EMAIL PROTECTED] wrote: is there a question here, or are you asking us to write the script for you? - Rick Original Message Date: Wednesday, March 07, 2007 01:54:04 PM +0100 From: Delta Storm [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP

[PHP] Image storing

2007-03-05 Thread Delta Storm
Hi, Can you recommend the best way to store an image into the MySQL database and optimze it. And display and manipulate that image in PHP. Thank you very much! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ID problem

2007-02-28 Thread Delta Storm
Hi, I'm building an CMS system (for practice and experience :)). And of course like many times before I have encountered a problem. The problem is: I have a index.php that takes the news from the database and publishes them. And by the end of every news on index.php I have a link ('a

[PHP] Latin letter problem!

2007-02-20 Thread Delta Storm
Hi, I'm building an simple CMS system. I have built almost everything but one thing buggs me... I have a MySQL database built for publishing news (Id,title,newsContent,timestamp). And I have a php web page that displays that content. The problem is with the charset, in the database the

[PHP] Beginner Question

2007-01-19 Thread Delta Storm
Hi, I have learned as lot about PHP but I still dont know how do they build PHP based web sites. I need to build a complete PHP site with a lot of content and integrate CSS,javaScript and a lot of other stuff (for the school) (Complete site for example. www.domain1.com/index.php or

[PHP] Problems with mysql_connect()

2007-01-10 Thread Delta Storm
Hi, I'm having problems with this code (a simple exercise where i wanto to connect to sql server and get data from it and write that data in html) : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

[PHP] File reading code2

2007-01-06 Thread Delta Storm
Hi, Can someone make me an example of simple reading a *.txt file on a hard drive and displaying that file with a echo command or some loop or anything path to file: (C:\Program Files\XAMPP\xampp\htdocs\test_folder\test1.txt) btw the script is in this folder to. Full code please. Thanks

[PHP] Problem with file reading

2007-01-05 Thread Delta Storm
Hi, I'm a beginner and i'm still learning PHP and I got a problem: $file = http://localhost/test_folder/test1.txt;; //I have also tried test_folder/test1.txt and text1.txt $fh = fopen($file, r) or die(Could not open file!);

[PHP] Still problem with file reading

2007-01-05 Thread Delta Storm
Hi, I wrote a while back saying of my problem... I tried to read a file I tried in a couple of ways and i posted a question on this newsgroup and a couple of people helped me (btw, thank you for help) and they suggested a few other ways I tried all possible ways and i could read a file it

[PHP] Array decleration problem

2007-01-03 Thread Delta Storm
Hi, I'm new to php and im learning, I haven't encounter any problems till now so please help me? :) the code: (learning arrays...) ?php $flavors=array (banana, cucumber, grape, vanilla) $flavors2 [0] =3; $flavors2 [1]=13;