[PHP] Linux DBG-GUI

2002-06-14 Thread Philipp Melab

I'm using SuSE 8.0 and i need a free GUI to use with DBG.

yours   Philipp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] php-speed

2002-06-13 Thread Philipp Melab

I have a simple newbie question...
Whats better (faster?):

- embedding PHP in HTML
- or printing HTML via PHP
...?

yours Philipp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: php-speed

2002-06-13 Thread Philipp Melab

Yes


Leon Mergen wrote:

 
 Philipp Melab [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 - embedding PHP in HTML
 - or printing HTML via PHP
 
 With embedding PHP in HTML, do you mean using server side includes or do
 you mean by having a .php file and having a layout like this:
 
 html
 head
 title?=$title;?/title
 body
 ?
 code();
 ?
 /body
 /html
 
 Regards,
 
 Leon Mergen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: php-speed

2002-06-13 Thread Philipp Melab

Yes, Ithought that embedding must be faster too. But I was confused because 
in nearly every PHP-Beginner Tutorial/Book I've seen the Hello-World 
Example looks like this:

?
echo html;
echo head;
echo title.../title;
echo /head; 

echo body;
echo pHello World!/p;
echo /body;
echo /html;
?

funny, isn't it?

yours, Philipp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Editor

2002-06-13 Thread Philipp Melab

I love emacs with php-mode.el.
He's small, reliable, customizable and if you've ever worked with Komodo or 
Zend IDE you'll find out that he's damn fast.

yours Philipp


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] dbugging via DBG

2002-06-11 Thread Philipp Melab

Das anybody know a good tutorial which tells me how to install and use the 
DBG php-debugger?

yours   Philipp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] mysql_fetch_object in a class

2002-05-29 Thread Philipp Melab

I'm trying to create a server-side tree-menue. Therefore I wrote a class

Does anybody know why it doesnt work?
there is a mysql_table named menue with the cols 'menue_id', 'name', 
'parent_id'.
$open is a global array with entries who tell me which menue-points where 
clicked.


class menue_point
{
var $menue_id;
var $name;
var $lvl;
var $open;
var $children;

function menue_point($point, $lvl)
{
global $open;
$this-menue_id = $point-menue_id;
$this-name = $point-name;
$this-lvl = $lvl;
$this-open = $open[$this-lvl];
$this-children = array();

if($this-open == $this-menue_id)
{

$child_id = $this-menue_id;
$childquery = SELECT * FROM menue WHERE parent_id=$child_id;;
$childresult = mysql_query($childquery)or die(mysql_error());
$next_lvl = $this-lvl + 1;

while($CHILDPOINT = mysql_fetch_object($childresult));
{
$child = new menue_point($CHILDPOINT, $next_lvl);
array_push($this-children, $child);
}
}
}
}


It seems like '$CHILDPOINT' was empty, because the new point is 'born' but 
all the vars in it are empty...

yours   Philipp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php