Hi again...
There is any way to know what page we came from in php?
I want to make a clause if i came from certain page in my web site...
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to delete a some records from a table with checkboxes and then i
have this code:
Lista de Filmes (DivX)
...TítuloCds
$titulo$cds
";
$i++;
}
echo "";
if($HTTP_COOKIE_VARS["cookie1"] && $HTTP_COOKIE_VARS["cookie2"])
{
include('menuadmin2.php');
put the data into variables, erase the record and then create a new one in
the new table with the variable values!
"Dc" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I want to delete a record from my table 1, but would like all the data for
> that
$sql="SELECT TOP(id) FROM divxtemp";
$res=mysql_db_query("DB",$sql) or die (mysql_error());
$reg=mysql_fetch_array($res);
$id=$reg["id"]+1;
$sql="INSERT INTO divxtemp (titulo,cds,id) VALUES
('$titulotxt','$cdstxt','$id')";
mysql_db_query("DB",$sql) or die (mysql_error(
Hi...
can you give me some lights in this subject? How checkboxes work with php?
Or where i can find some info about this? Or both :)
Ex: if i want to erase from db all data with the checkbox active...
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hi...
What is the line code to optain the system date?
I propose is to compare the system date with the date in one field in the
database... Then what would be the mysql command to select all the rows with
date with 10 days or less from the system date?
Thanks...
--
PHP General Mailing List (ht
Hi...
I'm with a little sintax problem...
The question is that i have two search fields (titulotxt and cdstxt) and i
want to create an mysql condition... i trying:
$sql1=($titulotxt) ? "titulo like '%".$titulotxt."%'":"";
$sql2=($cdstxt) ? "cds like '$cdstxt'":"";
$sql="SELECT * FROM divx WHERE
Hi...
I'm with a little sintax problem...
The question is that i have two search fields (titulotxt and cdstxt) and i
want to create an mysql condition... i trying:
$sql1=($titulotxt) ? "titulo like '%".$titulotxt."%'":"";
$sql2=($cdstxt) ? "cds like '$cdstxt'":"";
$sql="SELECT * FROM divx WHERE
Why i can't tranfer data from one table to another with this code? I can't
pass "$reg" to $c and $t... : \
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm with a little problem... i have this php code and when i lick F5
(refresh) it keeps adding files do database... i think "if ($Submit)" is not
doing what i want! My propose is clicking on submit it adds me the
$titulotxt and $cds to the database using $PATH_INFO. How must i do to
resolve my prob
Hi...
How can i connect to a remote host database through mysql.exe?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I can't validate this two variables ($logintxt, $passwdtxt)
ERROR!!
Problemas na ligação á base de dados!
";
}
else
{
$pass=md5($passwdtxt);
$sql="SELECT login,passwd FROM users WHERE (login='$logintxt') &&
(passwd='$pass')";
$result=mysql_db_query("mysite",$sql) or die (mysql_erro
Hi...
My problem is that i can't store info in a mysql database... ex:
I want to store this info in my database: login/passwd and i have the php
code...
what i'm doing wrong? : |
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Hi...
I have a little problem... when i do //localhost/ on the browser i don't get
nothing it gives me "Forbidden - u don't have permission to access"... but i
was the one that installed the apache server!! do u know what's the problem?
Thanks
--
PHP General Mailing List (http://www.php.net/)
T
Hey...
I have a little problem... i want to read an encrypted field from mysql
database to a php variable... what is the code line that i must enter? (ex:
password validation in a login form)
Thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
15 matches
Mail list logo