[PHP-DB] how can save image in mysql

2001-08-16 Thread Mad Nas

Hi all
How can save a image in a field of mysql table with use php language ?

thanks for answer
Mad Nas



-- 
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]




[PHP-DB] Warning: Page has Expired

2001-09-03 Thread Mad Nas

Hi All

I'm using PHP 4 and MySQL in W2K .

When i submit a form and call a php file, i get this message :

__

Warning: Page has Expired

The page you requested was created using information you submitted in a
form. This page is no longer available. As a

security precaution, Internet Explorer does not automatically resubmit your
information for you.

To resubmit your information and view this Web page, click the Refresh
button.

__

But my php file is run!

For example , if i run a php file for append a record to database, i get

error message but append record. If i click refresh button , add record

again.

Why i get this error page, and how can remove problem ?

Thanks for answer

Mad Nas




-- 
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]




[PHP-DB] How can set a option in mysql

2001-11-04 Thread Mad Nas

Hi All
I have MySQL 3.23 in W2K ,
I must set oprion lower_case_table_names to 0.
How set it?

Thanks for answer

Mad Nas



-- 
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]




[PHP-DB] Re: get the record id of the last addition in a table

2001-11-29 Thread Mad Nas

Hi Jean-Louis
If you use from mysql database function in php, you can use from function
mysql_insert_id after using query "insert ".
"Jean-Louis Letortorec" <[EMAIL PROTECTED]> wrote in message
615315231286D21182E40008C7B1EED23C6EFF@COMPAQ3000">news:615315231286D21182E40008C7B1EED23C6EFF@COMPAQ3000...
> Hi:
>
> I've created a table. The fields are "id" (auto-increment, integer),
> "field1","field2),...
>
> When I do "insert into mytable (field1..) values (...)", how to get in
> return the value of "id"?
>
> Thanks
>
>
>
> Jean-Louis
>



-- 
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]