[PHP-DB] Re: Parse Errors...

2003-10-12 Thread Gabriel Peugnet
Some times parse errors aren't in the line the interpreter says. Looking at the code you sent I don't see the error but if your original code is in a biger file try looking if the brackets {} or parenthesis of all the code are balanced. Scott V Nipp [EMAIL PROTECTED] escribió en el mensaje

[PHP-DB] Re: Parse Errors...

2003-10-12 Thread Gabriel Peugnet
I just sent you an email that was rejected. Recipient address: [EMAIL PROTECTED] Reason: Server rejected MAIL FROM address. Diagnostic code: smtp;550 5.0.0 Access Denied for prodigy.net.mx So here is the message: For sending numbers with format I prefer the number_format() function. Instead

[PHP-DB] Acces Microsoft access database in shared mode

2003-10-12 Thread Jeroen Verhoeven
Hi, I try to acces an access database from a PHP script runnig on an NT machine with php 4 and IIS. When the database is opent by an other program, i can't acces the database.from PHP. I think it has to do with the mode. Can someone help me with some information on opening an access database in

[PHP-DB] Re: session variables when accessing the same page

2003-10-12 Thread Andy Cantrell
Figured it out. I was trying to use the same associative array under the form tag as I was trying to save under the session. Using two different variable constructs worked. Andy Cantrell wrote: Working with storing and reusing session variables. If I use t1.php to generate a form, and the form

[PHP-DB] selecting and updating fields

2003-10-12 Thread Claudiu Bandac
Hi ! I've got a form that passes a variable to a script. The script connects to a database and I need to check if a field containing that variable already exists in the table, and if it does, to select the nr_of_views field, increment it, and update the table and if it doesn't, to create a new

[PHP-DB] PHP-Mysql speed

2003-10-12 Thread Karina S
Hello, I use PostNuke witm Mysql 4 on my php site and I have about 6000 visitors pro day. The server is a 2,4Ghz P4 with 1Gb RAM. My problem is that the server run on 40-45%. As I know PostNuke use ADO connection. Are the normal Mysql php function faster than the ADO variant? How big is the

AW: [PHP-DB] selecting and updating fields

2003-10-12 Thread Lars Jedinski
You could do: mysql_query(update url set nrviews=nrviews+1 where url='$url'); if(mysql_affected_rows()==0) mysql_query(insert into url (urn, nrviews) values ('$url',1)); Lars -Ursprüngliche Nachricht- Von: Claudiu Bandac [mailto:[EMAIL PROTECTED] Gesendet: Montag, 13. Oktober 2003

[PHP-DB] SQL File Insert???

2003-10-12 Thread John Ryan
Ive a file on my server with SQL instructions to create a table and insert stuff. How do I get this to be run on the database? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP-Mysql speed

2003-10-12 Thread Lester Caine
As I know PostNuke use ADO connection. Are the normal Mysql php function faster than the ADO variant? How big is the difference? ADO just wraps the base functions. Zend PHP Optimizer can help for me? Probably a bit How is it possible to handle 40-50,000 visitors? A second machine with Firebird

Re: [PHP-DB] SQL File Insert???

2003-10-12 Thread Martin Marques
El Dom 12 Oct 2003 17:36, John Ryan escribió: Ive a file on my server with SQL instructions to create a table and insert stuff. How do I get this to be run on the database? Once againg, somebody that doesn't specify which database server he is using Pleas, be more specific! -- Porqué

[PHP-DB] code to Open PDF

2003-10-12 Thread Feroz
Hi, how can I open PDF document through PHP code and open it in a new window. can anybody please help me. Regards, Feroz - IT Developer / Systems Maxumise (Fiji) Limited Level 4, FNPF Place Suva, Fiji Islands. Tel : (679) 330 3137 Mobile : (679) 995 4250