It is currently Thu Mar 28, 2024 8:51 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: New user with PHP trouble...
PostPosted: Fri Oct 20, 2006 8:52 pm 
Noobie
Noobie

Joined: Fri Oct 20, 2006 8:46 pm
Posts: 1
Location: Qualm Hah
I've created a script that should just print 'meep' twice on the screen, but it only prints it once... Here's the code:

Code:
<html>
<head>
<title></title>
</head>

<body>

<center>
Meep?
</center>

<br><br><br><br>

<?php

print("Meep!");

?>

</body>
</html>


I just spent ages trying to upload it properly since my computer doesn't like to save file extensions, and I just gave up and created one on here. Still doesn't work...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 21, 2006 3:44 am 
I have no life!
I have no life!

Joined: Sun Feb 13, 2005 6:12 pm
Posts: 1504
Location: My Office
Greetings,

Try this:
Code:
<html>
<head>
<title>PHP Learner</title>
</head>
<body>
<?php
echo 'Testing ...<br />';
echo "Testing ...<br />";
?>
<b>Testing ...<br /></b>
</body>
</head>


Save file as a .php, upload, and view. :D

_________________
Best Regards:
Aaron McGowan (aka: CyberGeek, =cipher=)

CyberGeek's Software Solutions
-- WWW: http://www.cybergeeksoftware.com
-- Tech Line: 1-519-860-4557
-- Email: cybergeek@cybergeeksoftware.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
100WebSpace © 2011