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 s
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
> Bruno,
>
> This schema layout seems a lit
>> 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
Anyone? Please.
2012/9/18 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 Value
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 pointing
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.
> I think it's so that you could write functions as generically as possible.
> So you don't have to pass in the number of co
---
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
---
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
Hi , i want to model a simple db for user with a social network. Cold anyone
help me?
Thanks!
-- Forwarded message --
From: Bruno Sandivilli
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 a
table with objects that
2010/1/29 listread :
> 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
http://askmonty.org/wiki/index.php/Mar
2010/1/26 Murat BEYHAN :
> 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 +0100, Christoph Ros
2010/1/25 listread :
> 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, you can configu
PHP 5 was released.
http://www.php.net/archive/2007.php
Check the PHP 4 end of life announcement.
--
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
x27;t the case
normally. By default, I think at least apache sends the content-type
as iso8859-1.
--
Bruno Lustosa <[EMAIL PROTECTED]>
ZCE - Zend Certified Engineer - PHP!
http://www.lustosa.net/
mi hits per day. 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
eral queries at once? any workaround?
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-
ate("Y/m/d");
You 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 Declu
You may also open a sized new window where the update takes place and
the user has a confirmation and a close button.
Stéphane
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
tension 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 unsubscri
age_from = (($page*$itens)-$itens); <- NEXT PAGE
$this->page_to = ($page*$itens); <- PAGE AFTER
return $results;
}
=
The important thing here is how you build the limit statement: " LIMIT
(($page_numbe
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
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
| 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
| 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
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
=>
[field07] =>
[field08] =>
[field09] =>
[field10] =>
)
[3] => Array
(
[categoryId] => 1
[categoryParentId] => 0
[translationId] => 123456789
[translation
3
• 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
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 questi
tionId 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
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
sql.dll" isn't commented out.
Things should go back to normal.
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
2004 02:00 (probably because we
are 2 hours ahead of GMT)
Any ideas please?
Thanks
K
Well, a solution could easily be arranged to use both fields, but
really, the best thing to do is to just use a DATETIME field in MySQL
instead of using both DATE and TIME fields. That will save you a lo
em in
the Firebird db (SELECT from 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
er IN?
No :\
What did you want to do with that number? 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
:
List of users:
* User1
See comments ( 32 comment in database )
* User2
See coments (13 comments in database )
* etc.
thanks in advanced.
Bruno
Hi guys..
Wich is the diference between if ($var == '1') or if ($var === '1')
== means equality and what does the === means ?!
Thanks!
Bruno
tc
action=\"$_SERVER[PHP_SELF]\" etcetc";
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://
ORs like this:
Searching for all words in a field: WHERE (field LIKE '%something%
AND field LIKE '%other_thing')
Searching for any of the words in a field: [read above in the
previous question]
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
uot;.ERROR."._$myerror."";
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
e') --> Enter's three rows 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 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: h
Hi all.
I have this string:
$my_string = "hello worldthis is a test for a
link with a image
Is there any function that retrieves only the string without the html tags?!
--> Hello world this is a test link with a image
Thx for ya help
Bruno, Portugal
o PHP 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
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 t
e
that as well into your 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 s
--
-
.-'''''-.
.' `.
: :
: :
: _/| : Bruno Santos
: =/_/ : [EMAIL PROTECTED]
`._/ | .'
( / ,|...-'Pagina Pessoal
"
Any suggestione to me on showing a graphic with a link when $mail is
different from null?
Build the inside of your loop like this...
print("$navn
");
if ( $mail!='' ) then
[print the icon here]
else
echo "$mail";
Bruno Ferreira
---
[Th
ost you my own brute-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
as to what you'll do next.
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
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
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
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 i
he
DB.php file. 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://w
could create an IPSec (or maybe an SSH) 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 (ht
rder'];
if (! $sort_order) {$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://w
er
information.
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
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 pag
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:
Hi,
I'm trying to use PostgreSQL on Windows98!
Does anyone here succeded with it?
Thanks
Bruno (sorry.. my mistakes).
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
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, Ma
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 PRO
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
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
How can i create a new user, with linux, apache and php?
Like this, in a form i ask for the username and password, than somehow use
the 'adduser' .
Can someone help me?
Cumprimentos
Bruno Pereira
[EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscr
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 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
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
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
, 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
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: &
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
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,
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
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
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 PROTECTE
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 unsubscr
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 | Br
;s a system
limitation and you have 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
There is an error in my script, % is not a special character (I got confused
because of perl).
So the correct is what Matt wrote.
good luck,
Bruno Pereti.
- Original Message -
From: "Bruno Gimenes Pereti" <[EMAIL PROTECTED]>
To: "PHP-DB" <[EMAIL PROTECTE
Hi Markus,
I think you forgot to assign the value of ereg_replace to a variable. I made
this test and it worked:
Hope it helps,
Bruno Pereti.
- Original Message -
From: "Markus Lervik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002
body will give a better answer but you
can try it.
Bruno.
- Original Message -
From: "Steve Haemelinck" <[EMAIL PROTECTED]>
To: "Brad S. Jackson (E-mail)" <[EMAIL PROTECTED]>; "Php-Db List
(E-mail)" <[EMAIL PROTECTED]>; "Php-Dev List
it looks like the command mysql_db_query() is not used any more. Try to use
mysql_select_db() and mysql_query() instead:
$conn = mysql_connect($host, $user, $password);
mysql_select_db($db, $conn);
$result = mysql_query($sql);
[...]
close($conn);
Hope it helps...
Bruno.
- Original Message
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&q
or any help, even 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]
tting 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
like php_mssql.version.rpm)
Bruno Gimenes Pereti.
- Original Message -
From: "Matt Lemon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 3:08 PM
Subject: [PHP-DB] Ms SQL.
> I'm trying to get my linux server to connect to an MS SQL
xtract 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: "t
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 administrato
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: "Torrent
Does include accept parameter?
I have never tried.
I think php will try to find a file called "poll.php?id=KnChooseBoots" not a
file called poll and give argument for it. Also why do you need to put the
parameter if the variable id is already set?
Bruno.
- Original Message
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" <[E
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 Gimene
pect it should be working.
{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]
Hi Jason,
What is the error message, in what line? I really can't find any error...
Just one standarlization point: why do you use "( )" when printing and
not in every other printing. For me, it's easyer to debug if every thing
that do the same thing is writen the same way.
Other thing out of th
try
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 PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 29, 2001
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
Look for extensions in the file php.ini. uncomment the line:
extension=php_dbase.so (for linux or)
extension=php_dbase.dll (for windows)
remember to set extension_dir to directory where you have the file.
Hope it helps.
Bruno Gimenes Pereti.
> I need to open a dbase file, so I use
ODBC para 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 ad
1 - 100 of 111 matches
Mail list logo