Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Storing Long Descriptions in mySQL (255+ Char.)
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



Report this thread to moderator Post Follow-up to this message
Old Post
HostSpecs
08-18-04 08:57 PM


Re: Storing Long Descriptions in mySQL (255+ Char.)
>  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



Report this thread to moderator Post Follow-up to this message
Old Post
Barand
08-18-04 08:57 PM


Re: Storing Long Descriptions in mySQL (255+ Char.)
"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

Report this thread to moderator Post Follow-up to this message
Old Post
steve
08-19-04 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP SQL archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:44 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.