Page 1 of 1

Need help with horizontal looper links and date query

Posted: Wed Apr 12, 2006 4:46 pm
by crenshawdesignz
Please if someone can look at this situation because I really need some help. I am using an application developed by Chris Goerner that will help me with managing attendance for parents in cooking and GED classes. Here is what I hope to achieve.

I would like the unit descriptions to loop horizontally instead of running vertical for however long they may run.

I have a file name looper in the c/includes/myincludes folder of the file I have zipped for distribution.

On the index page of the site I want to be able to place a date query that can be entered and have it work in the same manner as the back and foward links on the page.

This is a great application but I want to extend it a bit further with some help from this community.

http://marccrenshaw.com/assistance.zip

The file is located inside the zip folder. I appreciate you looking at this.

Posted: Wed Apr 12, 2006 8:37 pm
by feyd
You're wanting someone to do it for you? You want someone to tell you what to change?

I want to do it myself

Posted: Fri Apr 14, 2006 11:00 am
by crenshawdesignz
feyd | Please use

Code: Select all

,

Code: Select all

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]


I am learning how to use PHP and if someone did it for me I wouldn't learn anything or not much. But if someone told me what to change and I did it then, well you know.

Thanks for the note.

Code: Select all

/**
 * Will return the value of a particular field given the ID, table, and field name.
 * 
 * @param $table The name of the table
 * @param $id The ID of the record
 * @param $field The name of the field
 * @return string The value of the field
 **/
function getValueFromID($table, $id, $field)
{
    $result = do_mysql_query("SELECT * FROM $table WHERE ID=$id");
    $tempOutput = "";
	
	while ($row = mysql_fetch_array($result)) {
        $tempOutput = $row[$field];
    } 

    return $tempOutput;
}
I found this code and wonder if this will be of any help?


feyd | Please use

Code: Select all

,

Code: Select all

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]

Contract

Posted: Fri Apr 14, 2006 11:18 am
by crenshawdesignz
I was not aware that there are independent designers here.

You may be able to help me directly then. Let me know how we are to negotiate this and perhaps we can do some business.

Posted: Fri Apr 14, 2006 11:19 am
by feyd
The function you've found merely attempts to finds a single field in a record from a table. It has no specific baring on what you are wishing to alter, although it may be involved to some degree.