[PHP-DB] DB Modeling . Help!

2012-10-05 Thread Bruno Sandivilli
Hi, some week's ago i was having a querying problem, it was i nightmare. Now i'm i have the same modeling problem. But his time i've stopped to think before. Right Here we go: It's 'simple'. I have a simple datagrid (5 columns x 50 rows). Each row have a label and the 5 columns values.How can i

Re: [PHP-DB] Re: Many columns (as FK) vs 3x more Columns (in the same table)

2012-09-20 Thread Bruno Sandivilli
We are getting closer. But I'll give some image to better ilustrate: http://177.71.185.219/stable/anexos/505b18fc713f8imagem.png this is my table in Flex, the fields are in portuguese so 'ignore' it. 2012/9/19 Matt Pelmear mjpelm...@gmail.com Bruno, This schema layout seems a little odd

[PHP-DB] Re: Many columns (as FK) vs 3x more Columns (in the same table)

2012-09-19 Thread Bruno Sandivilli
Anyone? Please. 2012/9/18 Bruno Sandivilli bruno.sandivi...@gmail.com Hi, i strugling to decide what is the best choice: I have a 15 row x 3 columns Flash DataGrid, it means, for each row i have 3 values. To represent this in my Database, I could: 1. Create 2 Tables : A Values table

Re: [PHP-DB] Re: Many columns (as FK) vs 3x more Columns (in the same table)

2012-09-19 Thread Bruno Sandivilli
Giner wrote: On 9/18/2012 8:52 AM, Bruno Sandivilli wrote: Hi, i strugling to decide what is the best choice: I have a 15 row x 3 columns Flash DataGrid, it means, for each row i have 3 values. To represent this in my Database, I could: 1. Create 2 Tables : A Values table - with 3

[PHP-DB] Many columns (as FK) vs 3x more Columns (in the same table)

2012-09-18 Thread Bruno Sandivilli
Hi, i strugling to decide what is the best choice: I have a 15 row x 3 columns Flash DataGrid, it means, for each row i have 3 values. To represent this in my Database, I could: 1. Create 2 Tables : A Values table - with 3 columns ; and a Bill table (with 15 foreign keys, each one

Re: [PHP-DB] Another PDO ?

2012-09-10 Thread Bruno Sandivilli
Imagine if you are building a generic database framework, so you (dont have, but) can generalize your queries functions and abstract some tables info. 2012/9/10 Graham H. mene...@gmail.com I think it's so that you could write functions as generically as possible. So you don't have to pass in

[PHP-DB] Bruno Sandivilli deseja bater papo

2011-07-15 Thread Bruno Sandivilli
--- Bruno Sandivilli deseja manter contato com você de uma forma melhor usando alguns dos novos produtos mais legais do Google. Se você já tem Gmail ou o Google Talk, visite: http://mail.google.com/mail/b-bebbbe453e-455c1cf2d9

[PHP-DB] Bruno Sandivilli deseja bater papo

2011-07-15 Thread Bruno Sandivilli
--- Bruno Sandivilli deseja manter contato com você de uma forma melhor usando alguns dos novos produtos mais legais do Google. Se você já tem Gmail ou o Google Talk, visite: http://mail.google.com/mail/b-bebbbe453e-848c4569fe

[PHP-DB] Social NetWork Db

2011-05-06 Thread Bruno Sandivilli
Hi , i want to model a simple db for user with a social network. Cold anyone help me? Thanks!

[PHP-DB] Fwd: Object Class Type

2011-03-23 Thread Bruno Sandivilli
-- Forwarded message -- From: Bruno Sandivilli bruno.sandivi...@gmail.com Date: 2011/3/23 Subject: Object Class Type To: php-db-sc.1300557321.bdjnjaejefnonigedkec-bruno.sandivilli=gmail.com@ lists.php.net Hi all, could someone give me a help? I have this scenario: I want to have

Re: [PHP-DB] FW: Oracle Finalizes Acquisition of Sun

2010-01-29 Thread Bruno Fajardo
2010/1/29 listread listr...@cze.com: As an open source product, is the code in the public domain? If so, what's to prevent someone(s) from using it as a starting point and creating YourSQL? Nothing, that's why some guys created MariaDB - http://planetmariadb.org/ and

Re: [PHP-DB] dl () problem

2010-01-26 Thread Bruno Fajardo
2010/1/26 Murat BEYHAN bey...@deprem.gov.tr: yes many times I restart apache If I didn't try it, why I will sent such a stupid questions!!! But still I could not solved the problem. Keep acting like that and you certainly won't get any help from the list... On Tue, 26 Jan 2010 16:58:06

Re: [PHP-DB] Automatic logoff

2010-01-25 Thread Bruno Fajardo
2010/1/25 listread listr...@cze.com: Has anyone considered a way to run a script or automatically access a php page when a user leaves a site without logging off? The idea is to gracefully end that user's session. The built-in garbage collector is not sufficient for your app? Additionally,

Re: [PHP-DB] Fun with MySQL collation, HTML charset and PHP utf8_encode

2008-04-07 Thread Bruno Lustosa
. -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP + PostgreSQL: invalid byte sequence for encoding UTF8

2007-07-21 Thread Bruno Lustosa
the content-type as iso8859-1. -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/

Re: [PHP-DB] multiple queries in the same request

2005-06-20 Thread Bruno Ferreira
? You can't send multiple queries in an SQL statement. You can just split that in two separates queries. It's not really slower by any practical means because the DB system would have to execute them both anyway. -- Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus

Re: [PHP-DB] multiple queries in the same request

2005-06-20 Thread Bruno Ferreira
. the chance that two pairs of queries will run consecutively is imense. Then you need to use transactions, which fill your purpose :) I presume you're using MySQL or Postgres, google for START TRANSACTION and COMMIT. -- Bruno Ferreira

Re: [PHP-DB] Issue with date() function...

2005-06-10 Thread Bruno Ferreira
database system doesn't like using - as a separator in dates, thus thinking it's a minus sign and doing the appropriate math. Just use slashes and you'll probably be OK. -- Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net

Re: [PHP-DB] Page refresh question

2005-06-09 Thread Stéphane Bruno
You may also open a sized new window where the update takes place and the user has a confirmation and a close button. Stphane On Thu, 2005-06-09 at 04:32, Bobo Wieland wrote: ...or if everything else fail, do it the ugly-hack style and us a frameset with an 1 px wide frame where you update

Re: [PHP-DB] Ora 10g, PHP 4 and Apache 2

2004-12-29 Thread Bruno Ferreira
is deprecated, and that php_oci8.dll (or .so, in your case) should be used. See http://www.php.net/manual/en/ref.oracle.php, that's were I looked. -- Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-DB] Pagination

2004-12-16 Thread Bruno B B Magalhães
; } = The important thing here is how you build the limit statement: LIMIT (($page_number*$itens_per_page)-$itens_per_page),$itens_per_page Where page number MUST start at 1, NOT 0. Regards, Bruno B B Magalhaes On Dec 16, 2004, at 8:38 PM, David Ziggy Lubowa wrote: Hey guys, I

[PHP-DB] A language question

2004-12-08 Thread Bruno B B Magalhães
| contentTitle_en_uk | contentBody_en_uk The second option would be less space consuming? Any others ideas? Best Regards. Bruno B B Magalhaes -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] A language mather

2004-12-08 Thread Bruno B B Magalhães
| contentTitle_en_uk | contentBody_en_uk The second option would be less space consuming? Any others ideas? Best Regards. Bruno B B Magalhaes -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] A language question

2004-12-08 Thread Bruno B B Magalhães
Thanks a lot Koert and Norland! Do you know any GOOD multilingual system just to have a look at, how they handles those versions? Best Regards, Bruno B B Magalhaes On Dec 8, 2004, at 12:06 PM, Bastien Koert wrote: the first way is better, the second creates a wider table, and what happens when

Re: [PHP-DB] A language question

2004-12-08 Thread Bruno B B Magalhães
Thanks a lot Koert and Norland! Do you know any GOOD multilingual system just to have a look at, how they handles those versions? Best Regards, Bruno B B Magalhaes On Dec 8, 2004, at 12:06 PM, Bastien Koert wrote: the first way is better, the second creates a wider table, and what happens when

Re: [PHP-DB] Re: PHP vs ASP

2004-11-27 Thread Bruno B B Magalhães
Take a look at: http://www.oracle.com/technology/pub/articles/hull_asp.html Regards, Bruno B B Magalhães -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Reverse (or backward?) Infinity Loop

2004-10-19 Thread Bruno B B Magalhães
Category 4 Category 5 A reverse (or backward) loop! We need to get the last category and then follow the ParentId until the 0 ParentId. Have anybody made this before (I hope so)? Many Thanks, Bruno B B Magalhaes -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-DB] CMS Translation Systen: DB Desiging

2004-10-18 Thread Bruno B B Magalhães
Hi, I do have a flat file with all the translations for the interface and everything, but the problem is de dynamic content that must be multilingual... Regards, Bruno On Oct 18, 2004, at 5:29 AM, M Saleh EG wrote: I'd always preffer to keep language stuff in files instead of DB. A question

[PHP-DB] CMS Translation Systen: DB Desiging

2004-10-17 Thread bruno b b magalhaes
AND translations.translationLanguage='en-uk' AND translations.translationStatus = 1 AND categories.categoryModulePath='products' Any better idea to handle that? Regards, Bruno B B Magalhaes -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] undefined function

2004-05-21 Thread Bruno Ferreira
. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] undefined function

2004-05-21 Thread Bruno Ferreira
Miguel Guirao wrote: First, I do not have that line in my php.ini file. In what section should I add it? Anywhere, but best place as long as organization is concerned would be under the Dynamic extensions label. Bruno Ferreira PS - You should check the default php.ini that comes

Re: [PHP-DB] Linux/PHP/Access Database - oh boy :(

2004-05-12 Thread Bruno Ferreira
one side, INSERT into the other). Should be pretty painless to do this every once in a while. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] looking for a variable

2004-05-06 Thread Bruno Ferreira
? Maybe there is some other way around Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] SQL question!

2004-05-03 Thread Bruno Braga
: List of users: * User1 See comments ( 32 comment in database ) * User2 See coments (13 comments in database ) * etc. thanks in advanced. Bruno

Re: [PHP-DB] Image / file uploader

2004-04-29 Thread Bruno Ferreira
; When you're using an associative array inside a string, you don't need to put quotes refer to its textual index. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] using a define value

2004-04-20 Thread Bruno Ferreira
; It not works. Does now ;) Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] mysql multi-row insert limitations?

2004-04-16 Thread Bruno Ferreira
in the database? The limit is probably set somewhere else, like the size of the string that you can pass to mysql_query() or something similar. Even then, why don't you just split the records in blocks of X and insert them one block at a time? Bruno Ferreira --- [This E-mail scanned

[PHP-DB] get rid of the HTML tags

2004-04-12 Thread Bruno Braga
Bruno, Portugal

Re: [PHP-DB] get rid of the HTML tags

2004-04-12 Thread Bruno Ferreira
Bruno Braga wrote: Is there any function that retrieves only the string without the html tags?! -- Hello world this is a test link with a image strip_tags() --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-DB] Large Arrays in a batch procedure

2004-04-08 Thread Bruno Ferreira
involved here, you just use some SQL interface to your server... Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP Arrays

2004-04-04 Thread Bruno Ferreira
Martin Oettinger wrote: Does anyone know up to which level arrays in variables are possible? Is there a limit? $foo[1][2][3][4][5][6] ... ? I feel the right answer is why do you ask? It's either some very complex thing you're doing there, or you're doing it the wrong way :) Bruno

Re: [PHP-DB] v4.2.3 compliant sybase_set_message_handler

2004-03-24 Thread Bruno Ferreira
PHP 4.2 sources. Anyway, I should mention that you're treading on very thin ground there... there's a lot that can go wrong :) Bruno Ferreira PS - I am not a PHP-source programmer, so someone here might have better advice than mine. --- [This E-mail scanned for viruses by Declude Virus

Re: [PHP-DB] An if-statement in a while(list(

2004-03-21 Thread Bruno Ferreira
/a; Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Store a File (any type) in MySQL

2004-03-21 Thread Bruno Santos
-- - .-'-. .' `. : : : : : _/| : Bruno Santos : =/_/ : [EMAIL PROTECTED] `._/ | .' ( / ,|...-'Pagina Pessoal \_/^\/||__ http://feiticeir0.no-ip.org

Re: [PHP-DB] OK, ahí voy...

2004-03-18 Thread Bruno Ferreira
. Spamming the same questions to several lists doesn't help the matter, either. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Processing a fetched external page

2004-03-18 Thread Bruno Ferreira
-force get all text from a webpage script :) Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] SQL Server Query Failed

2004-03-17 Thread Bruno Ferreira
david wrote: Hello there! I have just about driven myself crazy with an odd intermittent problem. [snip] I'd first start by turning on all logging I could in the SQL server so that I could see what's happening straight from the horse's mouth... Bruno Ferreira --- [This E-mail scanned

Re: [PHP-DB] MySql query

2004-03-17 Thread Bruno Ferreira
Matt Matijevich wrote: This is probably a question for for a mysql list but I figured someone out here knows the answer. [snip] SELECT * FROM sometable WHERE 1 SELECT * FROM sometable Just that :) (do I hear you slapping your forehead? :) Bruno Ferreira. --- [This E-mail scanned for viruses

[PHP-DB] File Upload

2004-03-16 Thread Bruno Santos
Hello all Can someone tell me why PHP give all this erros, when it really opens the file and displays all it's contents ? Uploading files... File Type: text/plain UP: /tmp/teste.txt UP2: teste.txtFile uploaded successfully *Warning*: fopen(teste.txt): failed to open stream: Permission denied

Re: [PHP-DB] How to redirect after a valid login

2004-03-15 Thread Bruno Ferreira
. Look into that, and replace require() and include() with require_once() and include_once() to avoid this kind of conflict. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP-DB] Sending a hashed password on mysql_connect

2004-03-14 Thread Bruno Ferreira
) tunnel to the other machine and redirect it to a local port. As far as I can tell, there's no way to create a secure MySQL connection via PHP... Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-DB] ODBC support

2004-03-11 Thread Bruno Ferreira
. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re: Sort Order Description

2004-03-11 Thread Bruno Ferreira
) {$sort_order = desc;} First things first. That code (it seems to me) is vulnerable to SQL injection. Better fix that first... Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP-DB] No data being put into the DB

2004-03-04 Thread Bruno Santos
Hello. I'm not sure, but, witch version of php are u using ? replace all the instances of $_POST[varname] with $HTTP_POST_VARS[' varname '] and see what happens !!! Cheers Robert Sossomon wrote: I have a form: http://www.garlandcnorris.com/registration_tradeShow.html That then goes to this

[PHP-DB] Acessing a excel worksheet from a php site

2004-02-05 Thread Bruno Pereira
I'm making a site to a company and they have a excel worksheet where i have to get the data to a site in php. My question is simple, i think, how can i get it? Cumprimentos Bruno Pereira DSI [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] Help... PostgreSQL on Windows 98!

2003-07-20 Thread bruno
Hi, I'm trying to use PostgreSQL on Windows98! Does anyone here succeded with it? Thanks Bruno (sorry.. my mistakes).

Re: [PHP-DB] Email confirmation?

2003-06-11 Thread Bruno Gimenes Pereti
Keep the context of the email in a variable, add the details of the product in each loop. Then you can call mail() with the complete order information. PS. Don´t you think it´s better to query the db only once asking the details for all the products ordered? Bruno Pereti. - Original Message

RE: [PHP-DB] mysql to cvs file to excel

2003-02-21 Thread Bruno Pereira
I had the some problem and someone told me this What is your problem exactly? Have you investigated the MySQL manual under: LOAD DATA INFILE SELECT ... INTO OUTFILE ? And it realy helped. Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: Snijders, Mark [mailto

[PHP-DB] TimeStamp format to date

2003-02-20 Thread Bruno Pereira
Good afternoon, Houston i have a problem. :-) Just to play a while. Is like this i have a field in MySql TIME_STAMP int(11) and he has a time stamp value (ex: 1045738710) and i want to make show it like a date format in the web. Can anyone help me on this...? Cumprimentos Bruno Pereira

RE: [PHP-DB] TimeStamp format to date

2003-02-20 Thread Bruno Pereira
I'm portuguese, so i say bye in portuguese. If i want to call something you can be jure of one thing it wouldnt be cumprimentos. But i wouldnt do that, cause you help me :-) Cumprimentos(Till next time), is the same. Bruno Pereira [EMAIL PROTECTED] -Original Message- From: 1LT John

RE: [PHP-DB] TimeStamp format to date

2003-02-20 Thread Bruno Pereira
It's very good to see that a simple word cumprimentos can make a great discussion. :-) Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: Hutchins, Richard [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 20 de Fevereiro de 2003 17:09 To: [EMAIL PROTECTED] Subject

[PHP-DB] Erro na passagem de parametros

2003-02-17 Thread Bruno Pereira
to a php file. It should just show the value from the var but it is showing the interied code php. I think if some kind configuration of the httpd.conf file, but i dont no where? Thanks Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: Dimas Alberto Ayala Escobar [mailto

[PHP-DB] Erro na passagem de parametros

2003-02-17 Thread Bruno Pereira
a form in html to a php file. It should just show the value from the var but it is showing the interied code php. I think if some kind configuration of the httpd.conf file, but i dont no where? Thanks Cumprimentos Bruno Pereira [EMAIL PROTECTED] -- PHP Database Mailing List (http

[PHP-DB] HELP, sendmail + mysql.

2003-02-04 Thread Bruno Pereira
this, the user to make a dialup conection has a user and a pass and for the sendmail has another, and, if there is any changes, when the user changes de user or pass from one can't at the same time change the user/pass from the other. can someone help me Cumprimentos Bruno Pereira [EMAIL PROTECTED

[PHP-DB] login script

2003-02-03 Thread Bruno Pereira
this, the user to make a dialup conection has a user and a pass and for the sendmail has another, and, if there is any changes, when the user changes de user or pass from one can't at the same time change the user/pass from the other. can someone help me Cumprimentos Bruno Pereira [EMAIL PROTECTED

RE: [PHP-DB] login script

2003-01-31 Thread Bruno Pereira
this, the user to make a dialup conection has a user and a pass and for the sendmail has another, and, if there is any changes, when the user changes de user or pass from one can't at the same time change the user/pass from the other. can someone help me Cumprimentos Bruno Pereira [EMAIL PROTECTED

RE: [PHP-DB] simple mail attachment with php?

2003-01-27 Thread Bruno Pereira
Try that, is very good, i have the same problem and someone send me that, try it. I hope is the right one. Thats just a class, but inside there is the instruction. I put it to work and is very good. Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: cornelia es said

RE: [PHP-DB] simple mail attachment with php?

2003-01-27 Thread Bruno Pereira
No, you didn't get it? But cornelia es said, just told me that i have mistaken and put an ftp clss, my mistake. Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: Matthew Moldvan [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 27 de Janeiro de 2003 17:21 To: 'Bruno

RE: [PHP-DB] PHP MySQL: temporary table problem

2003-01-24 Thread Bruno Pereira
I would like to know, if there is any change to export/import data from SQL/EXCEL/SQL with php??? It?s very important. So if someone knows a way please help me. Thanks. Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: Damir Dezeljin [mailto:[EMAIL PROTECTED]] Sent

[PHP-DB] Import and export data from php/mysql

2003-01-24 Thread Bruno Pereira
I would like to know, if there is any change to export/import data from MySQL/EXCEL/MySQL with php??? It's very important. So if someone knows a way please help me. Thanks. Cumprimentos Bruno Pereira [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP-DB] elseif with header

2003-01-21 Thread Bruno Pereira
I Larry is correct you havo to use (==) not (=). The first one is comparing two variables and the second is that var is equal to another var. Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: Larry E. Ullman [mailto:[EMAIL PROTECTED]] Sent: terca-feira, 21 de Janeiro

[PHP-DB] Send mail with a file

2003-01-16 Thread Bruno Pereira
How can i insert a file on a mail, with the command mail()? It is possible? Cumprimentos Bruno Pereira [EMAIL PROTECTED] -Original Message- From: Bruno Pereira [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 15 de Janeiro de 2003 14:48 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject

[PHP-DB] Concatenate two strings

2003-01-15 Thread Bruno Pereira
How can i join two strings. My code is something like: $valor1=bruno; $valor2=Pereira; $valor=$valor1 + + $valor2 Can someone help me. Thanks. Cumprimentos Bruno Pereira [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] SQL question!

2002-06-27 Thread Bruno Gimenes Pereti
Hi, I need a sql query to join multiple lines into only one line. Ok, I wouldn´t understand this question so I´ll give an example (I´m doing it on mysql but I need it to mssql). Supose I have 3 tables: mysql select * from test1; ++---+ | id| nome | ++---+ | 1| Bruno

Re: [PHP-DB] Replacing * with %

2002-01-15 Thread Bruno Gimenes Pereti
Hi Markus, I think you forgot to assign the value of ereg_replace to a variable. I made this test and it worked: ? $t = 'abc*cde*'; printf(%s\n, ereg_replace(\*, \%, $t)); // or $result = ereg_replace(\*, \%, $t); ? Hope it helps, Bruno Pereti. - Original Message - From: Markus

Re: [PHP-DB] Re: MySQL/PHP and the case of Good Lord, that's a lot of statements

2002-01-15 Thread Bruno Gimenes Pereti
any other thing running in you machine it won't die always the same way. If it does, I think it's a script or SQL problem. Just some ideas to help... good luck, Bruno Pereti. - Original Message - From: Tobyn Baugher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 15

[PHP-DB] MySQL table recovery.

2001-12-06 Thread Bruno Gimenes Pereti
if it's forget it, no way... Bruno. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DB] MySQL table recovery.

2001-12-06 Thread Bruno Gimenes Pereti
Hi Jon, Thank you. I don't even know how to work with transaction in mysql. No problem, just more work. It is a table that store all comments done in my site. It's also sent to my e-mail. Thank's again. Bruno. - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: Bruno Gimenes

Re: [PHP-DB] Ms SQL.

2001-11-22 Thread Bruno Gimenes Pereti
off-topic, let's continue in pvt. When we get the solution you can send it back to the list. Bruno. - Original Message - From: Matt Lemon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 2:30 PM Subject: Re: [PHP-DB] Ms SQL. Bruno, I installed mandrake

[PHP-DB] image content in mail().

2001-11-14 Thread Bruno Gimenes Pereti
Hi, Who can I send an HTML e-mail with a image with mail()? Can PHP encode the image for me? Thank's Bruno. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

Re: [PHP-DB] Oracle via php under windows 2k

2001-11-14 Thread Bruno Gimenes Pereti
the extensions in your extensions_dir. If you were using it in linux you would need at last the oracle client installed locally, I don't know in windows. Hope I don't sad a lot of things you've done before. Bruno. - Original Message - From: titanesk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP-DB] Problem with include()

2001-11-13 Thread Bruno Gimenes Pereti
Try this way: in your php script: $foo = something; include(path/file.php); print $bar; in your file.php (included): globals $foo; $bar = $foo. working; I think this example will help... Bruno. - Original Message - From: TorrentUK [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP-DB] any extra work need to make php mysql function available?

2001-10-31 Thread Bruno Gimenes Pereti
uncomment the line that enables the extension in your php.ini: extension=mysql.so if it don't work verify the line extension_dir = /usr/lib/php4 and if the file mysql.so is in this directory. Bruno Gimenes Pereti. - Original Message - From: JIM [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: [PHP-DB] Variables in a loop

2001-10-30 Thread Bruno Gimenes Pereti
try form... input name=a[] value=.. input name=a[] value=.. input name=a[] value=.. input name=a[] value=.. and for ($i=1; $i=10; $i++) { $tab[$i]=$a[$i] ;} This way $a will be a array. Hope it helps Bruno Gimenes Pereti. - Original Message - From: LeTortorec, Jean-Louis [EMAIL

Re: [PHP-DB] PHP query on date field

2001-10-30 Thread Bruno Gimenes Pereti
understand what I mean :-) Bruno Gimenes Pereti. - Original Message - From: Jason [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 30, 2001 3:31 PM Subject: [PHP-DB] PHP query on date field Here is my problem once again... =P I am wondering if I should change the date table

Re: [PHP-DB] PHP query on date field

2001-10-30 Thread Bruno Gimenes Pereti
. {Hope this helps} else {tell us}. Bruno Gimenes Pereti. - Original Message - From: Big Nickel [EMAIL PROTECTED] To: Bruno Gimenes Pereti [EMAIL PROTECTED] Sent: Tuesday, October 30, 2001 4:02 PM Subject: Re: [PHP-DB] PHP query on date field I apologize... there really isn't any error

Re: [PHP-DB] PHP query on date field

2001-10-30 Thread Bruno Gimenes Pereti
Hi again Jason, I think Jason Wong got the problem I missed, it's the date format. If you tested like I sad in the last mail you already found it. When you query: SELECT * FROM ads WHERE date = '%$date%'; you get an empty result. So, that's the solution... Bruno Gimenes Pereti. What

Re: [PHP-DB] getting results from INSERT

2001-10-26 Thread Bruno Gimenes Pereti
I think you want this. $sql = INSERT INTO table (cod, nome, email) VALUES ('', '$nome', '$email'); $result = mysql_query($sql); $cod = mysql_insert_id(); The $cod is the primery key. Hope it helps. Bruno Gimenes Pereti. - Original Message - From: Matt Stewart [EMAIL PROTECTED

[PHP-DB] PHP Paradox.

2001-10-25 Thread Bruno Gimenes Pereti
Paradox] Não foi possível abrir PARADOX.NET., SQL state S1000 in SQLConnect in c:\inetpub\wwwroot\odbc.php on line 2 Please, I'm desperate. Thank's. Bruno Gimenes Pereti. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP-DB] array-problems

2001-10-24 Thread Bruno Gimenes Pereti
It looks like you need only one array, $date[begin] = $date[end]. Let's see, I think it'll work. I'll write it in your code then you try: $i=0; $result = mysql_query (SELECT DISTINCT date FROM linktracker WHERE name LIKE '$PHP_AUTH_USER' ORDER BY date); if ($row = mysql_fetch_array($result)) {

[PHP-DB] string problem

2001-09-14 Thread Bruno Franx
scenario: Win.nt 4.0 pach6a Workstation, IE 5.5, Apache/1.3.20, php 4.0.6 wath goes wrong: when I set a string variable containing by example : hello jack on my html page php convert it to hello \jack\ and I get no errors on another machine with same configuration I get hello jack without

[PHP-DB] Re: Does PHP work with Sybase ASA?

2001-09-08 Thread Bruno Franx
unctions when I uncomment that line? TIA. Bruno Franx [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Yes! I'm working fine with ASE, Php4 and Apache web-server, check your php.ini for the extension=php_sybase_ct.dll line and nice days...

[PHP-DB] Re: Store Procedures

2001-08-23 Thread Bruno Franx
no! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DB] Re: Sybase Mailing List?

2001-07-22 Thread Bruno Franx
go www.sybase.com under newsgroup Marcel Walter [EMAIL PROTECTED] ha scritto nel messaggio news:[EMAIL PROTECTED]. com... Sorry to ask this here, but I don´t know where to ask else ... Does someone know a good mailinglist about specific sybase questions? I have some questions about BCP ... MfG

[PHP-DB] connecting sybase ASE 11.9.2 via ct-lib

2001-05-19 Thread Bruno Franx
I get Fatal error: Call to undefined function: sybase_connect() in c:\programmi\apache\apache\htdocs\hello_dati_syb.php this my php.ini ;extension=php_oracle.dll ;extension=php_pdf.dll ;extension=php_pgsql.dll ;extension=php_printer.dll ;extension=php_sablot.dll ;extension=php_snmp.dll

Re: [PHP-DB] Call to undefined function: mysql_pconnect()

2001-04-10 Thread Bruno
the error is "$this-link = $connectfunc($db_addr, $db_user, $db_pass)". If you need more code, please let me know. Thank you Bruno ""B. van Ouwerkerk"" [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am getting this erro

[PHP-DB] Call to undefined function: mysql_pconnect()

2001-04-09 Thread Bruno
: extension_dir = /usr/lib/php4/extensions/ extension=mysql.so ¿Can anyone help me? Thank You Bruno -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

[PHP-DB] Problems with MySQL

2001-04-03 Thread Bruno
config file somewhere? I read in another forum that this could also happen if you used an old MySQL client with a newer version, ¿Could this be the case? ¿How does PHP comunnicate with MySQL? Thank you for your help. Greetings Bruno ([EMAIL PROTECTED]) -- PHP Database Mailing List (http