₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,211 members, 8,510,668 topics. Date: Friday, 30 October 2026 at 07:40 PM

Toggle theme

Php Help! - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Php Help! (1185 Views)

1 Reply (Go Down)

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.
1 Reply

Online Cinema Management System (PHP HELP) • PHP Help: Problem With Database Output Display • Mssql / Php Help • 2 • 3 • 4

Oracle • Ten Great UX/UI Design Cheat Sheets • Java Gui Problem Solver