Search found 21 matches
- Sat Sep 25, 2010 11:20 am
- Forum: PHP - Code
- Topic: Converting fields in php forms
- Replies: 2
- Views: 204
Re: Converting fields in php forms
You are correct, this is a little confusing. I'm aware that the database has columns and rows, if I had full control over the input fields I would simply use a checkbox for the on and off feature that I'm wanting here. However, the company I'm going through doesn't let me create checkboxes for the i...
- Fri Sep 24, 2010 4:12 pm
- Forum: PHP - Code
- Topic: Converting fields in php forms
- Replies: 2
- Views: 204
Converting fields in php forms
I am trying to convert a form field into another. So let me explain this the best I can... I have a form with some check boxes I am going to use so users can update their profile preferences. The provider I am connecting to, where all the profile data is stored (database) only has options for text b...
- Mon Sep 11, 2006 3:34 pm
- Forum: PHP - Code
- Topic: Creating and sorting sub-categories
- Replies: 2
- Views: 378
Right now I don't have the categories set up, so when you pull up the admin page it just displays all the news sorted using 'id' ASC. I would like to implement a system where I can get them grouped together (in categories) where all news items from the same date would be grouped. The fields used are...
- Mon Sep 11, 2006 10:13 am
- Forum: PHP - Code
- Topic: Creating and sorting sub-categories
- Replies: 2
- Views: 378
Creating and sorting sub-categories
I'm creating a news script, so far I've been successfull but I wanted to know if there was a tutorial or get some tips how to create categories and link them to sub-categories i.e. Category (by dates) 09/11/2006 (linked to sub-category below) Sub-Category (the actual news items) [List of news items ...
- Sun Sep 10, 2006 1:54 pm
- Forum: PHP - Code
- Topic: Show results in multiple pages
- Replies: 3
- Views: 686
- Sat Sep 09, 2006 3:30 pm
- Forum: PHP - Code
- Topic: Displaying HTML data from MySQL
- Replies: 9
- Views: 1298
I was going to update that I finally figured out the issue, just take off the following line
And that allowed the html code to translate properly, thanks for all the comments.
Code: Select all
$news = FixString($news);- Fri Sep 08, 2006 10:18 am
- Forum: PHP - Code
- Topic: Displaying HTML data from MySQL
- Replies: 9
- Views: 1298
For some reason I have tried several things, nothing seems to work but it makes no sense why would the page not translate the code and display the image, I have used other examples and nothing seems to be working either. From the input code I displayed above, is there anything wrong with it? I am st...
- Thu Sep 07, 2006 6:25 pm
- Forum: PHP - Code
- Topic: Displaying HTML data from MySQL
- Replies: 9
- Views: 1298
- Thu Sep 07, 2006 4:59 pm
- Forum: PHP - Code
- Topic: Displaying HTML data from MySQL
- Replies: 9
- Views: 1298
It does not display the HTML, basically if I put the following Welcome to our site, this is the news system. It displays the info with no problem. But if I input any HTML it displays the actual code. For example, if I put in the field the following, <P>Here is an image</P> <P><IMG alt=image hspace=0...
- Thu Sep 07, 2006 4:10 pm
- Forum: PHP - Code
- Topic: Displaying HTML data from MySQL
- Replies: 9
- Views: 1298
- Thu Sep 07, 2006 2:38 pm
- Forum: PHP - Code
- Topic: Displaying HTML data from MySQL
- Replies: 9
- Views: 1298
Displaying HTML data from MySQL
I'm wanting to create a small time script to learn a little about php, so far I have most of the stuff working but for some reason I can't display the data in html. Here is what I have in the code <tr> <td class="news"><?php print $news; ?></td> </tr> When you enter the news item it is the...
- Mon Aug 21, 2006 4:03 pm
- Forum: PHP - Code
- Topic: How to find the average?
- Replies: 2
- Views: 948
- Mon Aug 21, 2006 1:07 pm
- Forum: PHP - Code
- Topic: How to find the average?
- Replies: 2
- Views: 948
How to find the average?
what's the best way to get an average? The values are going to be coming from MySQL db and I wanted to be able to get the average of about 5 numbers. I.E. Every day I get like 5-6 different numbers I would like to have the average for, they are represented in percent and the numbers go from 0.00% to...
- Thu Sep 22, 2005 1:43 pm
- Forum: PHP - Code
- Topic: PHP Search Results
- Replies: 2
- Views: 514
- Tue Sep 20, 2005 4:13 am
- Forum: PHP - Code
- Topic: PHP Search Results
- Replies: 2
- Views: 514
PHP Search Results
I am very new at this but seem to be understanding PHP more and more everyday. However there are just certain things I don't know!! (go figure :lol: ) Well here is the question I have, I am creating a code for a community I have. Attendance was becoming an issue so we decided to keep track of it, so...