So I have created a function on a separate php inc page and want to output the single result of the function on another page.
This is the function
On the page I want the result I put this
I get no errors, but no result. I have tested the SELECT Query in PHPMyadmin and that produces exactly what I want. Can anyone help, I’ve spent hours combining different variations and I cant get it to output the database result field. I’m sure its something stupid.
EDIT: I can do this on the page and it works, but how do I do this as a function
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com