Re: RE: RE: [PHP] Including only I want

2002-04-13 Thread Alberto Wagner
neyman Programmer >* Techno-Mage >* http://www.calevans.com >* > > >-Original Message- >From: Alberto Wagner [mailto:[EMAIL PROTECTED]] >Sent: Saturday, April 13, 2002 5:09 AM >To: [EMAIL PROTECTED]; Php General Mailling List >Subject: Re: RE: [PHP] Including only I wan

Re: RE: [PHP] Including only I want

2002-04-13 Thread Alberto Wagner
But its exactely what I don't want 13/04/2002 11:11:54, "Cal Evans" <[EMAIL PROTECTED]> wrote: >Break those lines out into another file... >=C= >* >* Cal Evans >* Journeyman Programmer >* Techno-Mage >* http://www.calevans.com >* > > >--

[PHP] Including only I want

2002-04-13 Thread Alberto Wagner
Is there any way to include only the lines that I want in an other PHP file? something like Include(); like lines number 5,6 and 7. only this ones and not the entire script? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sql results

2002-03-30 Thread Alberto Wagner
But I Want a way to do something if there isn't any result 31/03/2002 01:52:10, Jason Wong <[EMAIL PROTECTED]> wrote: >On Sunday 31 March 2002 07:29, Alberto Wagner wrote: >> $Sql_Query_Login Returns an empty mysql array like: >> >> $Sql_Query_Login = Mysql_Que

Re: [PHP] MySQL Connection Error - mysql_select_db

2002-03-30 Thread Alberto Wagner
31/03/2002 01:02:04, "Patrick Hartnett" <[EMAIL PROTECTED]> wrote: You Need to use the command Mysql_Select_Db("$db_name") Or Die("Unable to connect!"); after connect with mysql I use something like this: mysql_connect($db_host, $db_user, $db_pass) or die ("Unable to connect!"); Mysql_Select_D

[PHP] Sql results

2002-03-30 Thread Alberto Wagner
$Sql_Query_Login Returns an empty mysql array like: $Sql_Query_Login = Mysql_Query("SELECT Nome FROM users WHERE User = 'Anyone'") There isn't a user if name Anyone... Why If (!$Sql_Query_Login) { Echo "Ninguem"; } Is returning False? -- PHP General Mailing List (http://www.php.net/)

[PHP] A way to use WWW-Autorization

2002-03-30 Thread Alberto Wagner
I need a good autorizating script that works in any browser an apache server Alberto Tkz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why?

2002-03-24 Thread Alberto Wagner
Why everyone uses $foo or $foobar as examples? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select then update

2002-03-23 Thread Alberto Wagner
You need to put {} in the while function like this while { do this } $query = "SELECT name FROM users"; $ret = mysql_query($query); while(list($name) = mysql_fetch_row($ret)) or die("Error: ".mysql_error()) { print ("your name is $name); $query_update["name"] = ("UPDATE my_other_table set

[PHP] Include Error on PHP 4.1.2

2002-03-23 Thread Alberto Wagner
I can't include anything on my php scripts Failed opening 'Pagina_Inicial.php' for inclusion (include_path='c:\php4\pear') How to fix it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php