[PHP-DB] putting strings together with a linefeed

2004-04-16 Thread Hull, Douglas D
For example, say I have a variable $mytext = 'what up doc'. Now I want to add the text 'not much' to the end of this variable. But I want to place a return or linefeed after the original text so when I echo $mytext it looks like: what up doc not much I tried: $mytext = 'what up doc'; $mytext

[PHP-DB] finding data

2004-04-15 Thread Hull, Douglas D
I am trying to find data, or if not found set a variable to "Err". myvalue being a variable in my database and $zchar being my value to find. The following result is never 1 even if no values were found, so the result is always 2. If the finding value does exist in my database this does find t

[PHP-DB] getting one line of info at a time

2004-04-12 Thread Hull, Douglas D
1. I have a regular html textarea field for a person to enter in words with a carriage return after each word. In PHP how would I go about getting one line (or word) at a time? Then I will be needing to get character by character. 2. I will then be searching my database to get matching values

[PHP-DB] dynamic graph on web site

2003-11-10 Thread Hull, Douglas D
In php/mysql is there a way to create a bar graph and/or a pie chart dynamically and then push the chart to the web? So depending on what information was selected during the filtering process would determine what data would be used to create the particular graph. Thanks, Doug -- PHP Database

[PHP-DB] show list of values and new values

2003-10-01 Thread Hull, Douglas D
Just for example, in php how can I show a list of colors so the user can select one? Also if needed the user could add a new color. This could be a drop down or whatever. How can I make this dynamic so when the user adds the new color that anywhere I show the list of colors in my web pages the n

[PHP-DB] Passing key field, id, from form to procedure

2003-07-18 Thread Hull, Douglas D
I am just starting to learn php and mysql. I have a small php/html page and database. All it does when starting shows the name of each person with a delete and edit link beside each name. At the bottom of the list there is an "Add Record" button. If you select delete it takes out the name and r