Search found 21 matches

by jescobar
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...
by jescobar
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...
by jescobar
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...
by jescobar
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 ...
by jescobar
Sun Sep 10, 2006 1:54 pm
Forum: PHP - Code
Topic: Show results in multiple pages
Replies: 3
Views: 686

Nice!!! I was looking for the same thing. Thanks.
by jescobar
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

Code: Select all

$news = FixString($news);
And that allowed the html code to translate properly, thanks for all the comments.
by jescobar
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...
by jescobar
Thu Sep 07, 2006 6:25 pm
Forum: PHP - Code
Topic: Displaying HTML data from MySQL
Replies: 9
Views: 1298

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] most like...
by jescobar
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...
by jescobar
Thu Sep 07, 2006 4:10 pm
Forum: PHP - Code
Topic: Displaying HTML data from MySQL
Replies: 9
Views: 1298

This is a rough draft of a small news script. Here is the code I use to pull information from the database <table cellpadding="0" cellspacing="0" class="moduletable"> <tr> <th valign="top">News</th> </tr> <tr> <td> <?php include ('config.php'); $sql = "SE...
by jescobar
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...
by jescobar
Mon Aug 21, 2006 4:03 pm
Forum: PHP - Code
Topic: How to find the average?
Replies: 2
Views: 948

sweet, thanks alot. I must also say it's alot easier than expected.

Once again thanks a bunch.
by jescobar
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...
by jescobar
Thu Sep 22, 2005 1:43 pm
Forum: PHP - Code
Topic: PHP Search Results
Replies: 2
Views: 514

Thanks for the reply, but how am I able to write this in a search query?
by jescobar
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...