Professional Documents
Culture Documents
#!/usr/bin/perl
$st1="hello";
$st2="world";
$st3=join("",$st1,$st2);
print"String is $st3\n";
OR
<html>
<body>
<?php
$dbhost = 'localhost:3036';
$dbuser = 'root';
$dbpass = 'rootpassword';
if(! $conn )
{
die('Could not connect: ' . mysql_error());
}
if(! $retval )
{
die('Could not get data: ' . mysql_error());
}
mysql_close($conn);
?>
</body>
</html>