English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

Remember:
PhP runs on your SERVER, so does MySQL.
Javascript runs on the CLIENT.
So, PhP runs FIRST:
1. 2. get the $parameter data from MySQL
3. echo ("");
6. ?>
This runs on the server.
line 1: tells the server to run PhP
line 2: you interrogate MySQL and return "$parameter"
(say you get "1234")
line 3: PhP sends to client:

On the client, when you get "view source", you get:

2007-09-28 06:30:55 · answer #1 · answered by just "JR" 7 · 0 0

fedest.com, questions and answers