₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,082 members, 8,420,206 topics. Date: Thursday, 04 June 2026 at 01:40 PM

Toggle theme

Php Help! - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingPhp Help! (1171 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 DisplayMssql / Php Help234

DatabaseA Problem In ClassLink Analyzer-tool