手机网站数据库 [英] database for mobile website

查看:62
本文介绍了手机网站数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个手机网站.我连接了mysql数据库.它可以在桌面端运行.但是在移动设备中它不起作用.那么可以将mysql数据库用于移动网站吗?

I develop one mobile website. I connected mysql database. It''s working on desktop side. But in mobile it does not working. So is it possible to use mysql database for mobile website?

推荐答案

这应该对此没有影响...

我已经开发了几个使用MySQL和PHP的网站,而且两个网站都可以在我的黑莓系统中正常工作...因此,您绝对应该看一下PHP,因为从浏览器导航时可能没有使用相同的代码一个电话,因此您不能正确调用这些功能...除此之外,它肯定可以正常工作...

您为什么不发布部分代码? (我们将提供更多信息来帮助您).

您是否尝试删除任何多余的代码以便能够查看小事情是否起作用?

MySQL和PHP在服务器端工作,实际上您只获得HTML结果页,因此您应该看不到任何区别.

检查所拥有的编码,并查看是否根据所使用的平台调用不同的代码.

祝你好运...
This should have no effect on that...

I''ve developed a couple of web sites with MySQL and PHP, and both of them work properly even in my blackberry... so you should definitely take a look at your PHP, probably you are not using the same code when navigating from a phone and therefore you are not calling the functions propoerly... apart of that it should definitely work...

Why don''t you post part of the code? (we will have more information to help you).

Have you tried to remove any extra code in order to be able to see if small things work?

MySQL and PHP work on server side, in fact you are getting only the HTML resultant page and therefore you should not see any difference.

Check the coding you have and see if you are calling different code depending on the platform you are using.

Good luck...


这篇关于手机网站数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆