hisham
IS-IT--Management
- Nov 6, 2000
- 194
I have the following JavaScript code, and I need to fetch item1-1, item1-2, … from mysql,
can I call them using php
<SCRIPT language=JavaScript>
var myScroller1 = new Scroller(0, 0, 119, 40, 0, 3);
myScroller1.setColors("#CC9933", "#333333", "#666666"
myScroller1.setFont("Arial,Verdana,Helvetica", 1);
myScroller1.addItem("item1-1"
myScroller1.addItem("item1-2"
var myScroller2 = new Scroller(0, 0, 119, 40, 0, 3);
myScroller2.setColors("#CC9933", "#333333", "#666666"
myScroller2.setFont("Arial,Verdana,Helvetica", 1);
myScroller2.addItem("item2-1"
myScroller2.addItem("item2-2"
can I call them using php
<SCRIPT language=JavaScript>
var myScroller1 = new Scroller(0, 0, 119, 40, 0, 3);
myScroller1.setColors("#CC9933", "#333333", "#666666"
myScroller1.setFont("Arial,Verdana,Helvetica", 1);
myScroller1.addItem("item1-1"
myScroller1.addItem("item1-2"
var myScroller2 = new Scroller(0, 0, 119, 40, 0, 3);
myScroller2.setColors("#CC9933", "#333333", "#666666"
myScroller2.setFont("Arial,Verdana,Helvetica", 1);
myScroller2.addItem("item2-1"
myScroller2.addItem("item2-2"