Reseller Domain Murah dan termurah di Indonesia? ya di ResellerCamp.
         
 

Forum PHP Indonesia

 
Advanced Search
   
 
Home Register FAQ Memberlist Usergroups  
 
 

Forum PHP Indonesia Forum Index Instalasi PHP code php ngk mau kebaca di browser
Display posts from previous:   
      All times are GMT + 7 Hours  

code php ngk mau kebaca di browser

Post new topic  Reply to topic

Wed Jul 28, 2010 12:31
Author Message
bayu praja
Anak Baru
Anak Baru


Joined: 28 Jul 2010
Posts: 1
Location: surabaya

Post subject: code php ngk mau kebaca di browser Reply with quote

saya lg praktekin script di buku kyak gni
Code:
<?php HTML>
<
HEAD>
<
TITLE>LATIHAN PERTAMA</TITLE>
</
HEAD>
<
BODY>
SELAMAT BELAJAR PHP.<BR>

<?
php

 printf
("Tgl.Sekarang: %s "Date ("d F Y"));

?>

</BODY>
</HTML> ?>


tapi yang keluar hnya "SELAMAT BELAJAR PHP" yang liatin tanggl ngk muncul . wampserver dah jalan dan versi php 5.3.1

tolong saya masi bener2 baru[/quote]
 
View user's profile Send private message Visit poster's website Yahoo Messenger
      Back To Top  

Tue Aug 03, 2010 00:58
Author Message
hlie
I am PHP
I am PHP


Joined: 10 Apr 2008
Posts: 3050
Location: Singapore

Post subject: Reply with quote


anda jalanin di browser atau double click di file??
coba buka browser anda dan ketik localhost lalu enter.
atau
coba bikin script sederhana aja dl
<?php echo 'hello world'; ?>
dan anda nga bs jalankan dengan mengklik filenya...

anda harus buka browser anda dan ketik localhost/file.php

_________________
Past is Experience,Present is Experiments,Future is Expectations,Use your Experience in your Experiments to achieve your Expectations...!!!
www.slackware.com
 
View user's profile Send private message Send e-mail Yahoo Messenger
      Back To Top  

Sat Aug 07, 2010 08:48
Author Message
indra96
PHPuser
PHPuser


Joined: 07 Aug 2010
Posts: 33
Location: Yogyakarta

Post subject: Reply with quote

ehmmm kayaknya sintax di atas kurang bener deh...

ketika mau nulis sesuatu yang akan di tampilkan ke browser kan harusnya pake "echo" <html> s.d. </html> yang anda buat di dalam <?php ... ?>
harusnya pake "echo"

Big Smile
Assault
_________________
Badhe nderek sinau PHP
 
View user's profile Send private message Yahoo Messenger
      Back To Top  

Fri Sep 03, 2010 10:29
Author Message
baldhead77
PHPuser
PHPuser


Joined: 03 Sep 2010
Posts: 27

Post subject: Reply with quote

Pastikan file.php Anda sudah tercopy di LOCALDISK\xampp\htdocs

Coba dulu brow...(gw newbie soalnya)
hail Salute!
 
View user's profile Send private message Yahoo Messenger
      Back To Top  

Sat Sep 11, 2010 12:02
Author Message
iqbal2
Anak Baru
Anak Baru


Joined: 11 Sep 2010
Posts: 4

Post subject: Reply with quote

pake echo aja bro
 
View user's profile Send private message
      Back To Top  
Post new topic  Reply to topic

 
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 vote in polls in this forum


      Back To Top  

Page 1 of 1
Jump to:  
Powered by phpBB © 2001, 2002 phpBB Group
Toko Kaos Couple | Avalanche style by What Is Real © 2004 | Toko Baju Butik Online | Cara Pedia | Busana Baju Muslim