|
 |
|
อยากทราบว่าในคำสั่ง Javascript สามารถแทรกโค้ด php เข้าไปได้หรือป่าวครับ |
|
 |
|
|
 |
 |
|
Code (PHP)
<SCRIPT LANGUAGE=JAVASCRIPT>
function popup()
{
javascript:NewWindow=window.open('booking_detail_rp.php?book_id='<?=$book_id;?>,
'newWin','width=800,left=0,top=0,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=No,fullscreen=No');NewWindow.focus();void 0;
}
</SCRIPT>
ตรงนี้อะครับสามารถทำได้หรือป่าวครับ
Code
'booking_detail_rp.php?book_id='<?=$book_id;?>,'
Tag : - - - -

|
|
 |
 |
 |
 |
Date :
2009-11-28 03:03:12 |
By :
giroo |
View :
1139 |
Reply :
2 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ได้ครับ ถ้าไม่แน่ใจ ลองใส่แล้วรันดูเลยครับ
|
 |
 |
 |
 |
Date :
2009-11-28 03:39:26 |
By :
panyapol |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
Load balance : Server 00
|