Display text from browser (form textfield) to a text files

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Sun Mar 30, 2003 12:12 pm

every line must end with a ;

MithikoS
New php-forum User
New php-forum User
Posts: 8
Joined: Sun May 11, 2003 7:56 pm
Location: London

Sun May 11, 2003 8:17 pm

second ...

you start with <?php and you ending with ?>

eg.

<?php
$hello = "HELLO2";
echo "HELLO";
echo $hello;

echo "<table><tr><td>HELLO</td></tr></table>";
?>

You can use it... like that

<?php
echo "Hello";
?>
HTML ....
<?php
echo "Hello again";
?>


Now if you have to use html inside the php code you need to do that

<?php
echo "<table><tr><td width='100%'>Hello</td></tr><table>";

echo "OR..... ";

echo "<table><tr><td width=\"100%\">Hello</td></tr><table>";

?>

gl
Why not!!!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest