[PHP-DB] need help with repeated regions

2003-07-27 Thread Alberto
Plz could some one help me how to create an horizontal repeated region in a php page using a mysql database for showing thumbnail without using a expensive plugin such like MXlooper for dreamweaver MX. plz sent me help over mail [EMAIL PROTECTED] thx -- PHP Database Mailing List

Re: [PHP-DB]how to handle exception in php

2010-05-02 Thread Luiz Alberto
Dear Bavithra, I would suggest you the following solution $sql = SELECT x FROM y; $rs = mysql_query ($sql) $num = mysql_numrows($rs); while ($i $num){ z = mysql_result($rs, $i, 'x'); $i++; } I hope that above solution help you. Luiz Alberto On Sun, 2010-05-02 at 10:56

Re: [PHP-DB] Session start

2010-05-14 Thread Luiz Alberto
regards, Luiz Alberto On Fri, 2010-05-14 at 17:47 +0100, Barry Zimmerman wrote: I have a problem with my system, not sure how I can fix this one. A user has a log in page and takes them to different pages, now each of these pages has a check to make sure they are logged in with the following

[PHP-DB] ORA-03106 Error

2003-01-22 Thread Alberto Grájeda C.
I have the problem: ORA-03106: fatal two-task communication ... I'm running redhat 7.3 with oracle 9i client connecting to oracle 8.0.5 Server on NT. I put the putEnv to $ORACLE_HOME,$ORACLE_SID,I use OCIDefineByName, but the result is the error. When I'm using the oci functions I can't

Re: [PHP-DB] Where can I get an extention to connect to PostgeSQLDB on Unix?

2003-01-24 Thread Alberto Grájeda C.
. Chau. Alberto. On Thu, 23 Jan 2003, Yurij Nykon wrote: Hi. We have an FreeBSD 4.5 with php4 installed on it. Now we need to connect from our php-Project to PostgreSQL-7.3.1. But there is no php-extention installed. In Windows distribution it is available. Where can we get

[PHP-DB] Oracle + PHP + Linux Red Hat {again}

2003-02-05 Thread Alberto Grájeda C.
Please, any idea to resolve my problem!!! I have the output: Connected to DataBase Oracle! Warning: OCIStmtExecute: ORA-03106: fatal two-task communication protocol error in /var/www/html/ora2.php on line 21 Warning: OCIFetchStatement: ORA-24374: define not done before fetch or execute and

[PHP-DB] Post without user hitting submit button

2003-02-12 Thread Alberto Grájeda C.
The problem: register.php {objetive: Validate users in email server} register.php has form1 (take email and emailpassword), with this information and validating to the user in email server, I search in database other information (user_cod, password2), this information must be sent to a cgi via

[PHP-DB] Suscribirse

2003-02-17 Thread Dimas Alberto Ayala Escobar
Espero poder suscribirme a su lista. Como lo hago.

Re: [PHP-DB] Acceso a Oracle (Replanteo mi pregunta)

2003-07-03 Thread Alberto Grájeda C.
? ¿tengo que instalar algo en NT? ¿algo en Linux? ¿algo en ambas partes? Necesito ayuda Gracias! _ Melodías, logos y mil servicios para tu teléfono en MSN Móviles. http://www.msn.es/MSNMovil/ -- Ing. Alberto Grájeda

Re: [PHP-DB] Oracle 9 and PHP 4.3.x

2003-10-22 Thread Alberto Grájeda C.
Don't use setenv. Set the variables in apache init script. This should fix the problem. Good luck. Alberto. On Wed, 22 Oct 2003, Johan Kruger-Haglert wrote: On Wed, Oct 22, 2003 at 10:44:36PM +1000, Christopher Jones wrote: What errors does PHP give you? ORA-03117: two-task save

[PHP-DB] Organizing a query

2004-10-21 Thread Carlos Alberto Bazan-Canabal
Hello. I'm working on a simple search for my file, and I have a question on structuring my query. This is what I want to do: select * from table where a=b AND (b=$var1 or c=$var1 or d=$var1) AND b 99 In the above, you could have: - either b or c or d or none would = $var1 - more than one of b