[PHP] Seek for a value in a html file ...

2002-10-09 Thread Bård Tommy Nilsen
I want to read the contents from a html file to a pointer, and seek for A value, and return it The text under is an example, and I want to get the 2505 value to be returned. Eks. $id = '2505' ( Regards Bård Tommy Nilsen

[PHP] Html in a string

2002-09-06 Thread Bård Tommy Nilsen
Hello I have a string with the html source, but want to fetch only some Of the code ... I want to use alle the codes inside start->end .. Example: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

SV: [PHP] about whitespace

2002-09-06 Thread Bård Tommy Nilsen
Take a look at str_replace function ... Bård Tommy -Opprinnelig melding- Fra: Meltem Demirkus [mailto:[EMAIL PROTECTED]] Sendt: 6. september 2002 14:53 Til: [EMAIL PROTECTED] Emne: [PHP] about whitespace Hi, is there any function which removes white spaces inse a string? thank

[PHP] Including files and functions

2002-09-06 Thread Bård Tommy Nilsen
HERE } FILE 'PRINT.HTM' $print = $HTTP_REFERER; ... HERE GOES CODES FOR BRAKING THE $print READY FOR INCLUDE include "$print"; if (function_exists('write')) { call_user_func ('write'); } Regards Bård Tommy Nilsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sorting a text string

2002-09-05 Thread Bård Tommy Nilsen
I want to sort text strings, but how could i do this ? Example: 04.09.2002 05.09.2002 19.03.1999 Is there a way to "change" the string to something like this ... 2002.09.04 2002.09.05 1999.03.19 Or is there a better way to solve this ?? Bård Tommy Nilsen -- PHP General Ma

[PHP] Searching within a range

2002-06-28 Thread Bård Tommy Nilsen
I want to search within a result from a query A specific range (price) For example. I want to display only the articles that cost between 0-50 Can anyone help me out ? Regards Bård Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP] Replace characters

2002-06-14 Thread Bård Tommy Nilsen
hting to do with it that the images are saved in Mac ?? Please help ! Regards Bård Tommy Nilsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Different colors on lines

2002-06-13 Thread Bård Tommy Nilsen
will allways display the colors On each line ?? Regards Bård Tommy Nilsen $query_1 = mysql_query("select * from $tabell_4"); $number_1 = mysql_numrows($query_1) ; $i_1 = 0; $bgcolor[0] = "#FFE38E"; $bgcolor[1] = "#FF"; $Search = "Test"; while ($

[PHP] Reading information from images

2002-06-11 Thread Bård Tommy Nilsen
Does anyone know about a script that is easy searches in folders for In image files for given information: Excample: I know that a field in a .jpg file is named Author: value I want to search in the author value for a text. Bård Tommy Nilsen -- PHP General Mailing List (http://www.php.net

[PHP] Storing mysql result into a pointer (or something)

2002-06-08 Thread Bård Tommy Nilsen
I am trying to store several results from an mysql_query into an "int" I want to produce several lines into $result, so i can include $result Into my email, or is there a better way to do this ? $query = mysql_query("select * from $table"); $number = mysql_numrows($query) ; $i = 0; while ($i

[PHP] Storing mysql result into a pointer (or something)

2002-06-08 Thread Bård Tommy Nilsen
I am trying to store several results from an mysql_query into an "int" I want to produce several lines into $result, so i can include $result Into my email, or is there a better way to do this ? $query = mysql_query("select * from $table"); $number = mysql_numrows($query) ; $i = 0; while ($i

SV: SV: [PHP] Including files without loosing my string

2001-09-25 Thread Bård Tommy Nilsen
Can you write me an short example ?? Bård Tommy Nilsen -Opprinnelig melding- Fra: David Robley [mailto:[EMAIL PROTECTED]] Sendt: 25. september 2001 10:11 Til: Bård Tommy Nilsen; [EMAIL PROTECTED] Emne: Re: SV: [PHP] Including files without loosing my string On Tue, 25 Sep 2001 17

SV: [PHP] Including files without loosing my string

2001-09-25 Thread Bård Tommy Nilsen
But i wanted to show what i am after, and that is that the id string cant be called after including index.php ... Bård Tommy Nilsen -Opprinnelig melding- Fra: David Robley [mailto:[EMAIL PROTECTED]] Sendt: 25. september 2001 09:56 Til: Bård Tommy Nilsen; [EMAIL PROTECTED] Emne: Re:

[PHP] Including files without loosing my string

2001-09-25 Thread Bård Tommy Nilsen
Hello ! I am trying to keep my string after including av file. file1.php: (accessed with file1.php?id=1) index.php: 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]