Re: [PHP] (pas d'objet)

2003-07-10 Thread RIVES Sergio SOFRECOM
ple the abilities of pl/sql are irrelevant, because they are not > using oracle as the backend. > > -Original Message- > From: RIVES Sergio SOFRECOM [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 12:44 AM > To: phplist > Subject: [PHP] (pas d'objet) > >

[PHP] (pas d'objet)

2003-07-08 Thread RIVES Sergio SOFRECOM
Hi everyone, I have a doubt, an existential question on the PHP... Yesterday I had an entrevue for a job and I was quite surprised by the technical director that told me that he prefers coding PL/SQL subroutines better than in PHP embedding. The Oracle database on which he works is about 100 Go. T

Re: [PHP] PDF - PHP (on the fly using templates??)

2003-03-13 Thread RIVES Sergio SOFRECOM
was it what she was asking ? I am not sure but you are right ! at the moment, the class fpdf doesn't manage to manipulate existing pdf-files. Martin Mandl a écrit : > it's not possible (at the moment) to manipulate existing pdf-files with > fpdf. > > Rives Sergio Sofreco

Re: [PHP] PDF - PHP (on the fly using templates??)

2003-03-12 Thread RIVES Sergio SOFRECOM
maybe the link didn't work... www.fpdf.org sorry RIVES Sergio SOFRECOM a écrit : > Hi, > > maybe looking at this site you could find what you are looking for : > > FPDF > > This is a site dedicated to the generation of PDF documents with PHP. > > HTH >

Re: [PHP] PDF - PHP (on the fly using templates??)

2003-03-12 Thread RIVES Sergio SOFRECOM
Hi, maybe looking at this site you could find what you are looking for : FPDF This is a site dedicated to the generation of PDF documents with PHP. HTH Sergio Bev a écrit : > Hi, > > BACKGROUND > > > I am looking to create a series of Certificates and Brouchures etc and t

Re: [PHP] button not seen

2003-02-21 Thread RIVES Sergio SOFRECOM
indeed. Your problem is an html problem because when i launch your script with IE, the button is there but with Netscape not... Netscape is more 'strict' than IE. When there is a single end of missing for example you don't see what you were trying to output... So I do agree with Hugh. Sergio Hu

Re: [PHP] parse error in line??

2002-05-29 Thread RIVES Sergio
Hi all, I would say as Jason, and I would add a little remark also even if that doesn't seem to be the pb you have : if (($row = mysql_fetch_array($result)) && ($password==$row["password"]) && ($password ! = "")) I hope it helps SR Jason Wong a écrit : > On Wednesday 29 May 2002 19:17, Webby

Re: [PHP] function return

2002-05-28 Thread RIVES Sergio
Hi, I don't know if there is an easier way to do this but why don't you concatenate the two values to be returned and then split the returned value ? ex : function myFunction($some_vars) { $max=count($some_vars); $some_value=($max/2); $result = $some_value.";".$max; return $result; } $resultad

Re: [PHP] SELECT + PARSE ERROR

2002-04-08 Thread RIVES Sergio
Hi the error appears because of the comas erroned syntaxis. why don't u try something easire as that : $varalacon = $nom."".$i; (i don't know if there is a space or not...in bold) $req = "SELECT * FROM dvds WHERE nomdvd='$varalacon' "; Hope it helps SR Jérome Moisy a écrit : > Hy, I try to d

Re: [PHP] Variable names

2002-04-02 Thread RIVES Sergio
> function somefunction($myvar) { > do something... > ... > ... $variablealacon = "\$myvar"; return $variablealacon; > } > > $varname = somefunction($myvar); > echo "$varname"; kodrik a écrit : > > function somefunction($myvar) {

Re: [PHP] how did this become an array?

2002-04-02 Thread RIVES Sergio
Hi, I am also a newbie in PHP, but your question is more a MySQL question I believe... : $sql = "select max(thread) as thread, max(mesgid) as mesgid from discussionboard"; This MySQL request gives you two informations : the maximum of the values of the two fields (thread and mesgid) of the table

Re: [PHP] Variable names

2002-04-02 Thread RIVES Sergio
Hello Kodrik, I would do the following code. Excuse me if there are many mistakes. I am only a newbie. So: function somefunction($myvar) { do something... ... ... return \$myvar; } $varname = somefunction($myvar); echo "$varname"; Hope it helps y

Re: [PHP] Mysql unique statement help...

2002-04-02 Thread RIVES Sergio
Hi, if you want to select a unique threadid to be read, try the following MySQL sentence : SELECT DISTINCT threadid FROM tablename; Hope it helps you SR Dhaval Desai a écrit : > Hello, > > Well I have a field in Mysql Database called threadid. > I have unique threadid's stored in this field.

Re: [PHP] mail

2002-03-20 Thread RIVES Sergio
yes I guess http://www.php.net/manual/en/function.mail.php Good luck. SR Sven Jacobs a écrit : > hey > > Is it possible to put somebody in CC when you use the mail() function ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to seek and convert an email address to mailto link

2002-03-19 Thread RIVES Sergio
Hi, I think the following lines could help you : $line = "Foobar foobar [EMAIL PROTECTED] foobar foobar"; list($var1,$var2,$var3,$var4,$var5) = explode(" ",$line); echo "$var1 $var2 mailto:$var3";>$var3." ".$var4." ".$var5"; more or less... i am a newbie in this stuff... hope it helps you SR

Re: [PHP] Parse Error

2002-03-14 Thread RIVES Sergio
For ($i = 1; $i < ($nbline+1); $i++) { // Line 17 not : For ($i = 1; $i < ($nbline+1); i++) { // Line 17 hope it helps you SR Jérome Moisy a écrit : > Hy,When I try to see my page I have this message and I don't know > why.If someone can explain to me.Thank You Parse error: parse e

Re: [PHP] Pattern matching in PHP

2002-03-13 Thread RIVES Sergio
i guess you are searching for this function : number_format($number); http://www.php.net/manual/en/function.number-format.php Hope it could help you SR Claudiu a écrit : Claudiu a écrit : > Hello! > > I have a number... say 12234109 i want to transform it to 12,234,109 > or 10312 transformed

Re: [PHP] Date

2002-03-08 Thread RIVES Sergio
Hi try the function getdate() check this page for examples : http://www.php.net/manual/en/function.getdate.php i hope it could help you. Yogesh a écrit : > Hi! can someone please tell me how to get the current date? Well, the thing is, >i want to manage a subscription, so, in my database,