ml\";>\n\n");
?>
-------
Best Regards,
Kelvin.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
HI,
assign another para. and set it up like this
$somepara. = addslashes($line);
than "insert into trivia(trivia) values ('$line');
that will work
Kelvin.
"Jack Dempsey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
Hi,
Use this:
$query="describe TableName";
$result=mysql_query($query) or die (mysql_error());
This is one good way to prevent update or delete or mass up the table
without known.
Kelvin.
""~BD~"" <[EMAIL PROTECTED]> wrote in message
02a601c
Hi
Sample,
$link = mysql_pconnect("localhost","login","pass") or die(mysql_error);
if ($link && mysql_select_db("DBname"))
{
return($link)
}
Than.your Query here.
Kelvin.
""hansol"" <[EMAIL PROTECTED]
Hi,
This is a small example to connect the Database.
and save as "dedb.inc"
And Then, in your php. file Before you start any statement or query. put
this on first.
OK...
Kelvin.
""James McLaughlin"" <[EMAIL PROTECTED]> wrote in message
000801c0c
Hi Kancha,
Try this one.
$to=trim($staff[$x]);
Kelvin.
"kancha" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi all
>
> I have a text file with email addresses. Each line contains one email
> address. I rea
help. I will be very appreciate.
Best regards,
Kelvin.
--
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]
Hi Vipin,
Don't want to explain to much , I have my code here , you can look at
it and put it into your coding.
P.S don't worry, the code is working fine.
---
Post Board
---
t variable,
but it won't close the link for U.
Kelvin.
"jong jong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I got the error messages with your help. Unfortunatly,
> I didn't see any problem in these message
Hi there,
When u retrieve the data, did u specific the starting point. 0 or 1,
because PHP is start from 0 bit.
Kelvin.
"Bartek Pawlik" <[EMAIL PROTECTED]> wrote in message
005401c0ffcd$848d3880$539f4dd5@administrator">news:005401c0ffcd$848d3880$539f4dd5
Hi Ken,
Do not specific the time in your cookie.
ex: setcookie("usercookie","$username");
once the user close the session, it will terminate the cookie.
Kelvin.
"Ken Sommers" <[EMAIL PROTECTED]> wrote in message
001701c1056d
Hi there,
I just wonder how to list all the table when using PHP script.
I know how to call when I in linux system. (show table) or (mysqlshow
db_name)
But don't know how to do it in PHP Please Help...
Many Thanks.
kelvin.
--
PHP Database Mailing List (http://www.ph
is my code. -- Below
Thanks.
Kelvin.
--
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]
all. Oh, Please
I'm not really good at PHP, so,please give me more details on it. Thanks. so
much.
Regards,
Kelvin.
Main window --index.html (break down into two frame.
topframe for chat box, bottonframe for input message)
Bottonframe PHP will sav
select * from tablename where time < date("H:i:s",(time()-720))";
Please help!!!
Thanks.
Kelvin
--
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]
ot;,"somethingelse")
Could someone help me out here, How to write the code?
I know how to read from a txt file, but I don't know how to separate the
data determine by ","
Please help, I'll be very appreciate.Thanks
Kelvin.
--
PHP Database Mailing List (http:/
SomeOne Please Help
Thanks.
Kelvin.
"Kelvn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have deleted the DB by mistake. Please I don't know how to write the
> rollback statement.
>
> I need comple
input box at the bottom of it and the button below and the process
continue.
I tried running it and inputted some text and pressed the button, and the
Hello [ur name] didn't show up, it just display an input box and the submit
button.
Can someone please help me?
Thanks a lot
Kelvin
--
mpty($_SERVER))
extract($_SERVER);
if (!empty($_GET)) {
extract($_GET);
} else if (!empty($HTTP_GET_VARS)) {
extract($HTTP_GET_VARS);
}
if (!empty($_POST)) {
extract($_POST);
} else if (!empty($HTTP_POST_VARS)) {
extract($HTTP_POST_VARS);
}
<>< Ryan
-Original Message
ve an ideas? IS there anything in PHP I can use to do this?
Any help is appreicated, thanks!
Kelvin
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a problem that lets you add a record to a database. THere is a
problem with it, and the following is the area of the program where it has
problem.
$created_date = date('m, d, Y');
$title = strip_tags($title);
$keywords = strip_tags($keywords);
$c
lmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 11:06 AM
To: Poon, Kelvin (Infomart); [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Addslashes (MSSQL)
> where my $content value is osmethign like this.
>
> "Step 1: Access the homepage
> Step 2: type in your username under
o it
should exceed the limit, but I just don't know why it takes only 6 lines of
the total 11 lines of what I had in the mssql table.
Please advise! THANKS!
Kelvin
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nt
of space even though the actual text is small?
Second question, I notice when I switch it to text, the length becomes "16"
and I can not change it. So how much text can the column contain then? Or
what is the limit or maximum number of words/letters I can fit into this
column?
Thank
24 matches
Mail list logo