View Single Post
  #7 (permalink)  
Old 08-24-06, 08:25 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
Code Guru
 
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
Just to be on the safe side as well I recommend using <?php ?> tags and not short tags <? ?> because those are used by XML and other languages and can confilict.

Secondly if you just wanted to echo 'selvam' you could use javascript below.

PHP Code:

<form name="s" action="view.php">

<
table align="center"  border="0" cellpadding="5" cellspacing="2">
<
tr align="center">
<
td><input type="button" value="View Profile" name="b1" onclick="alert('selvam');"></td>
<
td><input type="button" value="Edit Profile" name="b2"></td>
<
td><input type="button" value="Logout" name="b3"></td>
</
tr>
</
table
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
Reply With Quote