/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
$label1 = "The date is ". $dttime;
function updatedate($button)
{
return $this;
}
$win = new GtkWindow();
$button = new GtkButton();
$button->$label1;
$button->connect('clicked', 'updatedate');
$win->add($button);
$win->show_all();
gtk::main();
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                