drqyxkzbs21968684 2015-10-14 20:00
浏览 25

使用&with fpdf和mysql会导致问题

It seems i have stumbled onto a unforeseen problem with fpdf when using & in a sentence.

My php file gets information from a mysql database. And unfortunately I noticed if the field contains a & symbol the command fails. Basically what happens is if the sentence says Me, my partner & our friends the fpdf command only posts Me, my partner and ignores the rest...

I do not use the $_GET to pass the values, but rather $_POST, so i do not believe the & sign should conflict should it?

I have been spending quite some time searching for answers, but I do not see any mention of it...

Any assistance would be great.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
    • ¥20 怎么用dlib库的算法识别小麦病虫害
    • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
    • ¥15 java写代码遇到问题,求帮助
    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
    • ¥15 关于#Java#的问题,如何解决?