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
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
>*
>
>
>--
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
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
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
$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/)
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
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
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
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
10 matches
Mail list logo