Search found 11 matches

by Dr. PHP
Thu Nov 28, 2002 2:46 pm
Forum: Databases
Topic: Searching
Replies: 7
Views: 1377

Oh.

mmm, well that's interesting! I wish there was a PHP chat I could sit there for days asking questions trying to get my project work. I'm trying to think of a good solution for my problem....there will be about 6 different ways of searching (for last name, for first name, for paper name, by date, or ...
by Dr. PHP
Thu Nov 28, 2002 2:04 pm
Forum: Databases
Topic: Searching
Replies: 7
Views: 1377

mmm.

It seems that searching is so easy, but every other search script I look at is HUGE. Why are they so big when it can be accomplished with one command?
by Dr. PHP
Thu Nov 28, 2002 11:08 am
Forum: Databases
Topic: Searching
Replies: 7
Views: 1377

Searching

I've got a question....I have a database full of news articles, dates they published, category they are under, and author. If someone wanted to search by articles published during 11/25/02 and 11/29/02 under the Communications category, is that real hard to do? Is there anyway to string together SEL...
by Dr. PHP
Wed Nov 27, 2002 6:42 pm
Forum: PHP - Code
Topic: Out to *.PDF
Replies: 2
Views: 588

Out to *.PDF

Does anyone know where I can find code or a general idea of how to output information from a MySQL database using PHP to an Acrobate *.PDF file?
by Dr. PHP
Mon Nov 25, 2002 7:50 am
Forum: Databases
Topic: Searching Databases
Replies: 1
Views: 594

Searching Databases

I just caught part of another post about using the WHERE clause. The WHERE clause looks just like the perfect method for searching my database that I need, does this sound correct? I can use the WHERE cause with SELECT to pick out articles by authors last names, dates, etc, right? Can anyone give me...
by Dr. PHP
Mon Nov 25, 2002 6:56 am
Forum: Databases
Topic: In Database - to HTML
Replies: 1
Views: 798

In Database - to HTML

Here's a question...I'm storing news stories in a MySQL database. These stories are searchable by date, subject, category, keywords, etc. Well we are adding an option to send the article via e-mail to yourself or a friend. The company wants to be able to send an HTML link instead of just having the ...
by Dr. PHP
Mon Nov 25, 2002 6:21 am
Forum: PHP - Code
Topic: Flat-File - Which is Faster?
Replies: 4
Views: 498

interesting

Interesting, I've never heard of the file() function before. Do you think I should do it this way or should I just read each line temporarily and publish the output HTML line by line instead of storing all of the variables then publishing the HTML? Thanks.
by Dr. PHP
Mon Nov 25, 2002 4:13 am
Forum: PHP - Code
Topic: Flat-File - Which is Faster?
Replies: 4
Views: 498

others?

Anyone else have any suggestions on a which way is more acceptable or productive to accomplish this or can give me an idea of a good way to seperate a file with || delimiters into an array or seperate strings?

Thanks!
by Dr. PHP
Sun Nov 24, 2002 10:42 am
Forum: PHP - Code
Topic: Flat-File - Which is Faster?
Replies: 4
Views: 498

Flat-File - Which is Faster?

Well....here goes. Everynight at midnight, my script will run to generate a new flat txt file that looks something like this: Story Name||Story Author||Story Publisher||Story Date||Story Priority It will have 5 new lines each day (always 5 lines total, just a different 5 lines each day). I will be w...
by Dr. PHP
Sun Nov 24, 2002 10:37 am
Forum: PHP - Code
Topic: developing site.Selling it.How to hide php code?
Replies: 21
Views: 3075

mmm.

Well, you realize the PHP never shows up in the HTML code. The PHP is hidden already and your final product should look just like a hand-coded HTML file with no special scripting in it.
by Dr. PHP
Sun Nov 24, 2002 8:46 am
Forum: Databases
Topic: MySQL to Flat-File
Replies: 1
Views: 656

MySQL to Flat-File

Hello! I've never done a lot of databases before, so I'm a bit new to them in general, but I have a good programming sense and knowledge. I am working on a contract script right now for a company who keeps track of all news headlines with their company name in them so the Media/PR department can qui...