How to put content of databasefield into an array

How to put content of databasefield into an array

am 07.02.2006 10:42:18 von Ruprecht Helms

Hi,

how can I put the content of a databasefield into a array.
I need this to put out a securetyimage for validation.

Regards,
Ruprecht

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to put content of databasefield into an array

am 07.02.2006 11:23:59 von Balazs Hegedus

Hi,

2006/2/7, Ruprecht Helms :
> Hi,
>
> how can I put the content of a databasefield into a array.

It depends on what kind of database server you are using. If you are
using MySQL you will need http://www.php.net/mysql . It is a good
starting point.
BTW you may want to take a look at http://www.php.net/mysql_fetch_array .

> I need this to put out a securetyimage for validation.
>

If you want to draw images on the fly I think you need the GD library
compiled in to PHP too.

> Regards,
> Ruprecht
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Bye,

Balazs

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php