Coba dibuat file time.php isinya
<?
echo "<script language=\"javascript\" src=\"time.js\">
<script language=\"javascript\" src=\"calender.js\">";
?>
lalu di scriptnya di panggil file time.php, isinya :
<?
require('time.php');
?>
--- In [email protected], "v_no" <[EMAIL PROTECTED]> wrote:
>
> dear all,
>
> saya pengen misahin string javascript yang ada di index.php jadi
file sendiri, ada yang bisa kasih tau ga caranya.
> supaya dia bisa dibaca dengan tag html
> <script language="javascript" src="time.js"> ato
> <script language="javascript" src="calender.js">
>
> saya dah coba pake
> <? php require ('time.js') ?>
> ga mao juga
>
> kecuali kalo di time.js-nya dirubah ke time.php, tentu dengan
php/html head code.
>
> yah begitulah, short off......
>
> thx
> V_no
> *jadi ga enak nanya mlulu ... ;D
>
>
> [Non-text portions of this message have been removed]
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/IHFolB/TM
--------------------------------------------------------------------~->
----------------------------------------------------------
Komunitas MasterWeb Indonesia http://www.master.web.id
----------------------------------------------------------
MWN, Masternya WEBHOSTING di Indonesia, Indo/USA Servers,
Customer Support 24 jam http://www.masterwebnet.com
----------------------------------------------------------
WebDevelopment,Designing/Programming http://www.dlanet.com
----------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/milis-masterweb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/