[PHP] SQL Question

2002-03-28 Thread Sebastian A.
How do I sort out data from mysql_fetch_row() or mysql_fetch_array? For example say I wanted to list all my users alphabetically. How would I do this? Or say I had a form and I wanted to present the content to the user *AFTER* they have filled it out so that they can check for mistakes. Mysql_fetc

[PHP] <<

2002-03-30 Thread Sebastian A.
I am trying to use <

[PHP] Passing Values

2002-04-03 Thread Sebastian A.
Hello, Today I was working on an object that will create all of the columns and tables in my DataBase for my upcoming application. I however, did run into trouble. I am having problems because I cannot pass the name of the database from the form to the function that needs it. Everything is

[PHP] Includes

2002-04-05 Thread Sebastian A.
Lately I have noticed many scripts that all consist of one file even though they create the appearance of many pages. For example, you would open setup.php and a form would appear. Then after you complete the form a new page appears with the results of your form, however the URL is still setup.php

[PHP] Writing to Files

2002-04-05 Thread Sebastian A.
Hey All, I have recently been trying to create some logs for the install script I have been making (to make it easier for me to diagnose problems) but I am wondering how to create and write to text files. I know about the fopen() and fwrite() functions, which theoretically should enable me

RE: [PHP] How to convert a website to a txtfile....?

2002-04-06 Thread Sebastian A.
You can try using fopen() and fwrite(), they are the primary file manipulation tools you should use in this instance. -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 06, 2002 5:52 PM To: [EMAIL PROTECTED] Subject: [PHP] How to convert a websi

RE: [PHP] mailing list using mail()

2002-04-10 Thread Sebastian A.
That's a good question and one that I have too. As far as I know mail() is supposed to utilize sendmail... -Original Message- From: Anzak Wolf [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 7:27 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PH

[PHP] XML Flatfile Database

2002-04-15 Thread Sebastian A.
Recently I have caught on to XML, and I think it truly is a good idea. Because XML was *made* to store data I believe an XML flatfile database is (perhaps) one of the best ways to store data because it can be easily exchanged. Therefore I would like to embark on the feat of trying to create xml_db

[PHP] Session Tutorial

2002-04-21 Thread Sebastian A.
Recently I have been trying to work with sessions however I must admit that I am not sure I completely understand them. Does anyone know of a good tutorial that thoroughly explains sessions? Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] PHP 4.2.0?

2002-04-22 Thread Sebastian A.
On PHP.net it says that version 4.2.0 of PHP is out, yet on the downloads page, I can only find 4.1.2. If anyone has PHP 4.2.0 can you please provide me the URL? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do i upgrade from PHP 4.1.2 to 4.2.0?

2002-04-23 Thread Sebastian A.
What do I have to do to upgrade from PHP 4.1.2 to 4.2.0? Do I just overwrite all the old PHP files with the new ones or must I do something else? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question and PHP DOMXML and Apache

2002-04-23 Thread Sebastian A.
Have the new DOM XML functions been included in the latest version of PHP (4.2) when I try to use one of the new functions, such as domxml_open_file() I get an error message saying I am calling and undefined function. Has anyone successfully used these new functions with PHP 4.2? My second questio

[PHP] DOM XML

2002-04-25 Thread Sebastian A.
Hello, I have been recently doing experiments with the DOM XML function and I am (not surprisingly) having some problems with it. When I try to run the code below, I get an error saying I am trying to use and endefined function. To me it seems that the DOM XML extension is working fine, because I

[PHP] PHP-GTK Question

2002-05-01 Thread Sebastian A.
Hello, I have recently installed PHP-GTK with any problems, however I cannot get it to work. When I click on the php_win shortcut I get an error saying: Usage: php_win Does anyone know how I can fix this and run my PHP-GTK scripts? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Variables from XML Documents

2002-05-06 Thread Sebastian A.
Hello, I have recently been trying to use templates with XML documents. My problem however is that I cannot get the values between XML tags into variables. For example Example XML Document: Foo-Bar What would I need to do, so that I can get the contents of th

RE: [PHP] Variables from XML Documents

2002-05-06 Thread Sebastian A.
Sent: Monday, May 06, 2002 8:25 PM To: PHP List Subject: Re: [PHP] Variables from XML Documents On Mon, May 06, 2002 at 08:20:46PM +0200, Sebastian A. wrote: > > > Foo-Bar > > > > What would I need to do, so that I can get the contents of the tag &g

[PHP] XML: Similiar Multiple Tags With Different Data

2002-05-12 Thread Sebastian A.
Hello I have recently been trying to parse an XML document that has different content in the same tags. Here is an example: 1 2 3 ... I am trying to get the content from into an array. I want the content of the first to go into $p->ART_ID[0] and the next to go into $p->ART_ID[1] and so on. He

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-13 Thread Sebastian A.
I tried your suggestion already but It doesn't seem to work. I still can get it to be assigned to different parts of the array. Do you have any other suggestions? -Original Message- From: Kjartan Mannes [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 12, 2002 11:10 PM To: Sebastian

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-14 Thread Sebastian A.
ns [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 10:04 PM To: PHP List Subject: Re: [PHP] XML: Similiar Multiple Tags With Different Data On Mon, May 13, 2002 at 05:49:04PM +0200, Sebastian A. wrote: > function elementContent($parser, $data, $attrs='') { > global $ta

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Sebastian A.
I hope I didn't sound impolite, I really didn't mean to offend you, because if it weren't for your tutorial I would probably still be trying to figure out how to parse attributes and get XML Content into variables. Anyway, the performance and efficiency doesn't really interest me at this point. I

RE: [PHP] XML: Similiar Multiple Tags With Different Data

2002-05-15 Thread Sebastian A.
a On Wed, May 15, 2002 at 07:49:58PM +0200, Sebastian A. wrote: > performance and efficiency doesn't really interest me at this point. I just > want to get the thing working before I work on improving it. But your haste is making waste. Even funnier, in your haste, you're maki

[PHP] Searching Many Text Documents

2002-05-29 Thread Sebastian A.
Hello, I recently have run into a situation where I must search through many text (XML) documents. I would like to implement a search feature on my site that can search through the XML documents I use for my pages. I will probably need to search all the files in a specific directory for a

RE: [PHP] Searching Many Text Documents

2002-05-29 Thread Sebastian A.
Thanks a lot for this. I will try to implement this in my site. Does anyone have any other suggestions? -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:06 PM To: Sebastian A. Cc: PHP General List (PHP.NET) Subject: Re: [PHP] Searching Many

[PHP] Formatting XML Data

2002-06-09 Thread Sebastian A.
Hello, I have been working with XML in the recent weeks and I have recently come across the need to format some of the data in my XML. For example I might have a large XML file and I would like some of the text to be bold, or maybe I would like to insert a hyper-link. Unfortunately it does not se

[PHP] XML Problem

2002-06-30 Thread Sebastian A.
Hello, I am having some problems parsing XML with PHP. Here is an example of my problem: Example 1: SOME TEXT When I try to use the expat XML functions I cannot parse TAG1 in the above example. I simply get nothing. However with the following example:

RE: [PHP] XML Problem

2002-06-30 Thread Sebastian A.
--Original Message- From: Analysis & Solutions [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 8:27 PM To: PHP List Subject: Re: [PHP] XML Problem On Sun, Jun 30, 2002 at 05:58:59PM +0200, Sebastian A. wrote: > > I am having some problems parsing XML with PHP. Here is an >

RE: [PHP] XML Problem

2002-07-01 Thread Sebastian A.
t 100% certain about this process... Could you give me any advice? -Original Message- From: Analysis & Solutions [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 6:26 AM To: PHP List Subject: Re: [PHP] XML Problem Sire: On Sun, Jun 30, 2002 at 10:21:40PM +0200, Sebastian A. wrote: >