[PHP-DB] Getting data from mysql db for html form

2004-06-09 Thread GamCo - Gawie Marais
Hi,

Could someone help me out here...

I have a mysql database with a table that conatains names. I am setting up a
html form and I would like to create a multi-listing with those names so
that you can choose one and then submit the form.




Regards,

-
Gawie Marais
GamCo
Tel: +27 11 312 0481
Fax: +27 11 312 0483
E-Mail: [EMAIL PROTECTED]
Web: www.gam.co.za
-
...:: Beauty is one of the rare things which does not lead to doubt of God.
::...
-
http://www.techweb.za.net/
http://www.linuxonline.za.net/

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



[PHP-DB] Internal server error

2004-03-18 Thread ..: GamCo :.. Gawie Marais
Hi,

Whenever I try and run this .php file 

?php
$p = getcwd();
echo $p;
?



I get:-

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.






Apache/1.3.28 Server at www.stream.co.za Port 80






This is what I get in the log:-

[18/Mar/2004:10:12:54 +0200] GET /mambo/db_path.php HTTP/1.0 500 596 -
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)


Any idea ?




Regards,


Gawie Marais
..: GamCo :..

--
Tel: +27 11 312 0481
Fax: +27 11 312 0483 / +27 82 239 2986
http://www.gam.co.za
--
if(empty($beer)) 
{ getbeer() } 
else 
{ consume($beer) }

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



[PHP-DB] Php datetime

2004-03-04 Thread ..: GamCo :.. Gawie Marais
hi,

i have created a mysql table where i would like to store the date and time
whenever a user logs into a web site. the login is done through php/mysql as
well but i'm not sure what the php code is to add the current date/time into
a mysql database. the field in the db is created as a 'datetime' field.









Regards,


Gawie Marais
..: GamCo :..

--
Tel: +27 11 312 0481
Fax: +27 11 312 0483 / +27 82 239 2986
http://www.gam.co.za
--
if(empty($beer)) 
{ getbeer() } 
else 
{ consume($beer) }

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