佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1082|回复: 4

how to continuously scan a MySQL database using php???

[复制链接]
发表于 6-2-2009 09:57 AM | 显示全部楼层 |阅读模式
i wan to do some object color changing on php/html side.....for exmple when the data in mysql is "1", the object show green color, and when the data change to "0", the object on php side will immediately change to red color.

sorry cant type in chinese, coz my colllege computer dun hav chinese input provioded...
回复

使用道具 举报


ADVERTISEMENT

发表于 6-2-2009 10:38 AM | 显示全部楼层
use ajax .
set timer to get data from database.
回复

使用道具 举报

发表于 8-2-2009 02:50 PM | 显示全部楼层
原帖由 cylim 于 6-2-2009 10:38 AM 发表
use ajax .
set timer to get data from database.


Got any example??
回复

使用道具 举报

 楼主| 发表于 17-3-2009 08:04 PM | 显示全部楼层
原帖由 tatt2 于 8-2-2009 02:50 PM 发表


Got any example??


Here is the example.....http://www.aleixcortadellas.com/ ... -results-with-ajax/

ENJOY !!!
回复

使用道具 举报

发表于 24-3-2009 11:42 AM | 显示全部楼层
如果是on the spot换颜色的,那肯定要用AJAX来协助你了。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 15-12-2025 02:20 AM , Processed in 0.093705 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表