|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-11 06:47 UTC] php at sl5 dot de
[2003-05-11 06:53 UTC] rioter@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 07:00:02 2025 UTC |
I defined a class with conctructor and other functions. <pre> class html_edit{ var $iFrameName; var $jsPath; function html_edit( $name , $jspath , $sitepath ){ $this->$iFrameName = $name; echo $this->$iFrameName.'<br>'; $this->$jsPath = $jspath ; echo $this->$iFrameName; # etc ...</pre> If I built a instance the sendet parameters are not correct in the construktor. For e.g.: $e_obj = new html_edit( 'framechen' , '/LCiP/edit-site/' , '/LCiP/edit-site/' ); The Echo commands in the construktor schows: "framechen" then "/LCiP/edit-site/" . First ist correct, second is wrong. Second echo should be also "framechen". Greetings Sebastian