Php Help! - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Php Help! (1170 Views)
| Php Help! by debeginin(op): 10:13am On Mar 17, 2011 |
Please gurus in the house,how does one convert a TEXT fetch from mysql database to a STRING? |
| Re: Php Help! by dellnet: 1:04pm On Mar 17, 2011 |
what kind of fetch are you using? mysql_fetch_row, mysql_fetch_array, mysql_fetch_object etc. |
| Re: Php Help! by galaxytech(m): 4:06pm On Mar 18, 2011 |
I think you've twisted the whole idea, in programming Text is string, just that string is a type (data type) while text is the data. when working with mysql database, i normally use mysql_fetch_array so that i can treat the data as both normal and associative array, you can also use mysql_fetch-assoc if you intend to treat your data as associative array. |
| Re: Php Help! by Nobody: 12:28am On Mar 21, 2011 |
text is already string. |
| Re: Php Help! by elcollino(m): 10:12pm On Mar 21, 2011 |
If it is a string, you don't need to convert. Just google your question and you will get result. This is not a problem. |
Online Cinema Management System (PHP HELP) • PHP Help: Problem With Database Output Display • Mssql / Php Help • 2 • 3 • 4
Confused Between Programming and Networking • How I Developed My First iPhone App In 2 Weeks • OPEN: Apply To The Andela Fellowship