RE: [PHP-DB] dynamic URL result in search?

2002-06-05 Thread Ruprecht Helms
Hi Rita, [...] I need to get users to the page their book is on [books.php?page=3] -- else they'll have to try to find the book they searched for by going through a bunch of pages. verbal if found books.php?page=$booksite else URL searchsite endif You mast have a

[PHP-DB] values across functions

2002-06-05 Thread James Kupernik
I have a file, it's a shopping cart. Currently is contains all the fuctions required in the cart, including the shipping and billing form. It won't take the values from the shipping form and use them in the functions that calculate the tax and S H. Why would this be? I've gotten other variables

[PHP-DB] PHP amd MYSQL

2002-06-05 Thread Peter Goggin
I am setting up a web page system which involves html pages, php pages and mysqldatabase. I have a number of questions and do not know where to find answers. If I display the rows from a database table in a php generated html table is it possible to mark a row so that it can be deleted or

[PHP-DB] Relations n-m

2002-06-05 Thread Antonio Bernabei
Hi to everyone, I have a database with three tables books, authors and booksauthors. Books has the fields idbook, title and thers Authors has the fields idauthor,name and others booksauthors has two fields idauthor and idbook Every book can have up to 3 authors and in the booksauthors table there

Re: [PHP-DB] Trouble displaying info in a multiline form

2002-06-05 Thread Paulo Nunes
Thanks for help. It worked fine. But now i have another problem ( i'm new in php/html) : the textarea doesn't have the size that i need. I need a bigger textarea.How should i do this? Thanks again Paulo -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-DB] Trouble displaying info in a multiline form

2002-06-05 Thread Tony
Text area is controled by col and row size. If it's not big enough (doesn't look big enough), just make the col or row size bigger. Tony S. Wu [EMAIL PROTECTED] Thanks for help. It worked fine. But now i have another problem ( i'm new in php/html) : the textarea doesn't have the size that i

Fwd: [PHP-DB] PHP amd MYSQL

2002-06-05 Thread Terry Romine
I'll add this snippet in to prevent accidental deletes: a href=delete.php?id=' . $row[id] . ' onClick='return confirm(\Do you really want to delete this record?\)' ' . $row[name] . '/a On Wednesday, June 5, 2002, at 09:20 AM, [EMAIL PROTECTED] wrote: One way to do it would be thusly:

Re: [PHP-DB] permissions system

2002-06-05 Thread Kevin Stone
Very simply I protect whole pages on my member's website by include()'ing a script called auth.php into the top of each page. Rather than using a binary string to turn functions 'on' and 'off', I do things a bit more general than that. I have defined levels of access (ie, L1, L2, L3, etc..)

Re: [PHP-DB] PHP amd MYSQL

2002-06-05 Thread Miguel Carvalho
Hi, I am setting up a web page system which involves html pages, php pages and mysqldatabase. I have a number of questions and do not know where to find answers. If I display the rows from a database table in a php generated html table is it possible to mark a row so that it can be

Re: [PHP-DB] Trouble displaying info in a multiline form

2002-06-05 Thread Martin Clifford
TEXTAREA rows=x cols=y wrap=virtual Example text to be inside box on load. /TEXTAREA x = height, using monospace font for measurement. Usually 5 suffices. y = width, using monospace font for measurement. Usually 40 suffices. Martin Paulo Nunes [EMAIL PROTECTED] 06/05/02 02:00PM Thanks

[PHP-DB] not a problem per se, just a curiosity.

2002-06-05 Thread Jeffrey_N_Dyke
I have have developed a statistics package that tracks user info(browser, os, colors, heights, widths etc) as well as where and when they use my various sites. in the tables there are about 40 hits of aproximately 7,000 that the broswer entry is PHP/2.0 and PHP/1.2 only. Normally an entry looks

[PHP-DB] Slow performance (PHP MYSQL)

2002-06-05 Thread Radek Zajkowski
I am making pages for a client signed up with verio under signature hosting. The pages are very simple request from db for thumbnails, which are displayed 4 at a time etc. could it be because I'm generating the entire pages via PHP eg. echo(html) echo(head) echo(titleI'm so slow/title)

RE: [PHP-DB] values across functions

2002-06-05 Thread Beau Lebens
have you declared the variables as global int eh function? eg function foo($bar) { global $this, $that, $theOther; [...] } that way $this, $that and $theOther variables are available everywhere HTH Beau // -Original Message- // From: James Kupernik [mailto:[EMAIL

[PHP-DB] Re: mysql_fetch_array pointer

2002-06-05 Thread Jason Morehouse
mysql_data_seek($result_cat,0); http://www.php.net/manual/en/function.mysql-data-seek.php On Tue, 29 Aug 2000 22:55:11 +1200, Jeffrey Barendse wrote: I like to use a script like this: $result_cat = mysql_query(select cat_naam from categorie order by cat_naam); while($row =

[PHP-DB] date problem

2002-06-05 Thread andy
Hi there, I would like to count the users out of a mysql db who registered after a certain date. The column I have in the db is a char and I do not want to change this anymore. This is how a typical entry looks like: May 29, 2002 This is how I tryed it: // while '10...' is unix timestamp june

[PHP-DB] date problem

2002-06-05 Thread andy
Hi there, I would like to count the users out of a mysql db who registered after a certain date. The column I have in the db is a char and I do not want to change this anymore. This is how a typical entry looks like: May 29, 2002 This is how I tryed it: // while '10...' is unix timestamp june

[PHP-DB] Re: [PHP] date problem

2002-06-05 Thread Miguel Cruz
On Thu, 6 Jun 2002, andy wrote: I would like to count the users out of a mysql db who registered after a certain date. The column I have in the db is a char and I do not want to change this anymore. This is how a typical entry looks like: May 29, 2002 This is how I tryed it: // while