Search found 7 matches

by furanku
Fri Apr 09, 2004 1:36 am
Forum: PHP - Code
Topic: folder location
Replies: 0
Views: 199

folder location

Hi
When you use the command in postgres
createuser -P bob
which file is bob's password stored inside?
by furanku
Fri Apr 02, 2004 3:48 pm
Forum: PHP - Code
Topic: which day is typed into text box
Replies: 16
Views: 1066

furanku

yes I'm I do prefer postgresql. In my table, I have 7 colums, 1 for each day.
by furanku
Thu Apr 01, 2004 7:40 pm
Forum: PHP - Code
Topic: which day is typed into text box
Replies: 16
Views: 1066

furanku

thanks for the help but the mesage that has to be echo is the avg temp, not the day of week. When the chech box is clicked and submited on the html, it lookes at the table, finds the colum for that day and echo the avg temp. :?:
by furanku
Thu Apr 01, 2004 5:47 pm
Forum: PHP - Code
Topic: which day is typed into text box
Replies: 16
Views: 1066

update with code

Can you see any problems with this and how can I improve it. <? $dbh=pg_connect("dbname=tempdb port=5432 user=man password=man123") if ($sunday) echo ($dbh, "Select avg(sun) from temp); if ($monday) echo ($dbh, "Select avg(mon) from temp); if ($tuesday) echo ($dbh, "Select a...
by furanku
Thu Apr 01, 2004 4:03 pm
Forum: PHP - Code
Topic: which day is typed into text box
Replies: 16
Views: 1066

furanku

Just to let you know, I know about 8% about php coding. Hints don't help me at all. Thanks for answering thou.[/php_man]
by furanku
Thu Apr 01, 2004 5:02 am
Forum: PHP - Code
Topic: which day is typed into text box
Replies: 16
Views: 1066

reply to Mac

Hi Mac
I've only made the db and table so far. When the html is made it will have a box to type the day into. The php I havn't got any Idea how to do. So to answer your question. no. Sorry
by furanku
Wed Mar 31, 2004 11:12 pm
Forum: PHP - Code
Topic: which day is typed into text box
Replies: 16
Views: 1066

which day is typed into text box

Hi When someone types the day of the week in a text box on a html doc called "day". The html referse to a php doc that looks up a table called "temprature" in a database called "tempdb". The php doc knows somehow which day was typed and finds the average temprature for ...