Code Comments
Programming Forum and web based access to our favorite programming groups.I'm looking for a way to store job descriptions in a mySQL database dealing with PHP. I find people jobs on my website locally. Most of the job descriptions are more than 255 characters in length so how would I make this work? Could I have a field in the mySQL database that stores the path to a text file with the description and then include it somehow into an HTML page? I don't know how I would do this though, so some simple PHP coding would be greatly appreciated! Thanks in advance.. ---------------------------------------- The post originated from PHP Freaks: ---------------------------------------- http://www.phpfreaks.com http://www.phpfreaks.com/forums
Post Follow-up to this message> Could I have a field in the mySQL database that stores the path to a text file with the description and then include it somehow into an HTML page? > > You could do it that way, or, if you need to search on the contents of the job description field, use a field of type TEXT. Barand http://members.aol.com/barryaandrew...agridguide.html easy data tables - and more ---------------------------------------- The post originated from PHP Freaks: ---------------------------------------- http://www.phpfreaks.com http://www.phpfreaks.com/forums
Post Follow-up to this message"HostSpecs" wrote: > I’m looking for a way to store job descriptions in a mySQL > database dealing with PHP. I find people jobs on my website locally. > Most of the job descriptions are more than 255 characters in length > so how would I make this work? Could I have a field in the mySQL > database that stores the path to a text file with the description and > then include it somehow into an HTML page? I don’t know how I > would do this though, so some simple PHP coding would be greatly > appreciated! Thanks in advance.. > > > > ---------------------------------------- > The post originated from PHP Freaks: > ---------------------------------------- > http://www.phpfreaks.com > http://www.phpfreaks.com/forums You can have fields more than 255 chars. Just define them as "text" type. -- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for conformance to usenet standards Topic URL: http://www.dbForumz.com/PHP-SQL-Sto... ict140910.html Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz .com/eform.php?p=471760
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.