[PHP] slow form / server problem

2002-10-10 Thread Omar Campos

Hi. I run php in win2k server, IIS and MS SQL Server 2k.
I've created some data bases and tables. On the beginning, sending a php
form (through the intranet) was quick. Now, it spends 32 seconds (sometimes
less) to send a form.
I've tried on a empty data base but it's still slow. I don´t have a clue
about what could it be?
Maybe the HDD of the server, maybe the SQL Server
Could you help me.

Thank you so much.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Refresh my Memory

2002-10-10 Thread Omar Campos

Visit
http://javascript.internet.com/user-details/resolution-page.html
it'll be helpful.


Stephen [EMAIL PROTECTED] escribió en el mensaje
000e01c270a9$08ba5b90$0200a8c0@melchior">news:000e01c270a9$08ba5b90$0200a8c0@melchior...
Hello,

I forget exactly how to do this so I'm turning to you all for some help. How
can I make it so that if a user does not have a resolution of atleast
1024x768, it sends them to another page or recomends that they up their
screen size before viewing the page? Any help will be great. Thanks!

Thanks,
Stephen Craton
http://www.melchior.us



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] mysql_num_rows error

2002-10-08 Thread Omar Campos

I have a file. I'll paste from line 32 to 34

?
.
$sql = select USUARIO from docente where USUARIO = '$usuario';
$result = mysql_query($sql, $link);
if (mysql_num_rows($result) == 1) { // line 34

?

I get the next warning:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/olimpiad/public_html/base/alta1.php on line 34

I'm running the script on a linux server.
could someone help me.
Thank you.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php