Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,429 members, 7,954,680 topics. Date: Saturday, 21 September 2024 at 07:02 AM

Php Help! - Programming - Nairaland

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

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

(1) (Reply) (Go Down)

Php Help! by debeginin(m): 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)

Php Is The King In Terms Of Security / Nigeria Based Incubator & Seed Fund. / Android Mobile App Tutor

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.