[PHP] PHP: XML/XSL

2002-08-27 Thread Alia Mikati
Hi everybody, I'm using Sablotron to transform XML with XSL and this is the PHP file: ?PHP $strXhtml = ?xml version=\1.0\?\n; $strXhtml = $strXhtml . htmlbody\n; $strXhtml = $strXhtml . pbfont color=\#800080 \Balance:/font/b/p\n; $strXhtml = $strXhtml . p align=\left\input type=\text\

[PHP] PHP xml: urgent!

2002-08-27 Thread Alia Mikati
Hello, I have an HTML file. I want to transform it to XML then filter it and transform it to another XML file. I used Sablotron with PHP to apply XSL to XML to filter the XML file. But I'm facing problems when I want to transform HTML to XML. I used TIDY but it seems it transforms to XHTML in

[PHP] php and xml

2002-08-27 Thread Alia Mikati
Hello What's the best to convert HTML to XML that I can use in PHP Thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP: problem with patterns

2002-08-09 Thread Alia Mikati
Hi again, I hope u can help me with this. I have to parse an html file and replace src attribute of an img. I'm using 'preg_match_all' but it seems i'm having problem with patterns. This is the part of code that should find the appropriate img src:

[PHP] PHP: preview an html file.

2002-07-25 Thread Alia Mikati
Hello everybody, I hope u can help me with this. I'll be very grateful! This file retrieves a list of files from a folder on the server and then has to diplay a list of them. When selecting one of them in the list, it should display a preview (i.e. its contents) in the same file. I think i

[PHP] Error handling

2002-06-03 Thread Alia Mikati
Hi everybody, I hope u can help me with this. This file should give me an error msg that there is time-out coz of the loop. But it's not giving me anything. What could be the problem? Thx a lot ?php $str = (0,0); // redefine the user error constants - PHP 4 only define (FATAL,E_USER_ERROR);

[PHP] PHP and HTML

2002-05-15 Thread Alia Mikati
Hi everybody Plz can u help me with this? I have an html file that diplays images. And I want to use PHP to parse this file: i.e. to display those images and their sources. How can this be done? Thx a lot Alia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Date function

2002-04-19 Thread Alia Mikati
Hello I have the following SQL and I wanna insert the current date in one of the table fields but it's not working. Can u tell me whats the problem? (I'm using mysql and php) Thx a lot $SQL = INSERT INTO orders (Customer_Id, Order_Date). VALUES($CustID,date()); --

[PHP] Forms in PHP

2002-04-17 Thread Alia Mikati
Hello I hope u can help me with this problem. I dont know if it is possible to do it. I'm using PHP and XML to generate the folowing HTML: ... form method=post action=cart.php input type=hidden name=itemid value=11/input ... input type=hidden name=itemid value=22/input ... input type=hidden

[PHP] PHP and XML-QL/XQuery

2002-04-12 Thread Alia Mikati
Hi I'm searching for an XML-QL/XQuery engine or module for PHP. Does anyone have any idea where I can find it? Thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] functions

2002-04-12 Thread Alia Mikati
hi i would like now how can we call a function within another function in php? thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php