I understand, but how about the attached code? Every thing works fine except
the slide menu.
Sam
Niel Archer <[EMAIL PROTECTED]> wrote:
> Yes I do have dynamic content in my page.
> Im attaching the whole code for this page.
You missed the point. The fragment you supplied had no dynamic
The this instead. BTW, you misunderstood the useage of substr, see
http://uk.php.net/manual/en/function.substr.php.
$code = 'abcdwxyz8765';
$string = array();
array_push($string,substr($code,0,4));
array_push($string, substr($code,4,4));
array_push($string, substr($code,8,4));
echo $string[0].'-
i have a 12 digit code that i want to format as follows -- it is
all numbers i tried using substr() to format it in this fassion
$code = abcdwxyz8765;
$string = array();
$string[] = substr($code,1,4);
$string[] = substr($code,5,8);
$string[] = substr($code9,12);
echo $string[0],'-',$st
> Yes I do have dynamic content in my page.
> Im attaching the whole code for this page.
You missed the point. The fragment you supplied had no dynamic content
so does not need to be echoed at all. It can simply exist outside the
tag structure.
Niel
--
PHP Windows Mailing List (http://www.
sam rumaizan wrote:
In PHP when you click on the menu text Update The Record the menu doesn’t open
it takes you to another page. But in HTML when you click on the menu text
Update The Record the menu dose open.
Update The Record
When you try the PHP version, do a "View Source" in
Yes I do have dynamic content in my page.
Im attaching the whole code for this page.
<-Start--->
#menu1 {display:none; margin-left:20px}
";
echo"
View Existing Data
> It works with HTML without body
Technically, both html and body tag pairs are optional, but it make your
page clearer to understand when included.
First thing I'd suggest is NOT using echo. As far as I can see you have
no dynamic content being produced, so put the whole lot before the "
Hi
> In PHP when you click on the menu text Update The Record the menu doesnt
> open it takes you to another page. But in HTML when you click on the menu
> text Update The Record the menu dose open.
Clicking on the "Update the Record" link does the same for me in either
PHP/HTML versions. Tak
It works with HTML without body
Copy any paste this code and see it your self.
So the problem is not the body