Re: [PHP] Please Help !

2003-07-08 Thread Andrew McCombe
Hi, I know this is really basic but i have a form for users to enter the date of an event that i would like to store in a mysql database how do i get the users input into the database in the right format. For date validation I always use a javascript calendar thingy available from

Re: [PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Andrew McCombe
- Original Message - From: Steve Jackson [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:34 PM Subject: [PHP] How to insert a variable into a PHP template. Hi, I want to write a PHP template with a variable number of the last recordset in a MySQL

Re: [PHP] PHP 4.3.0/4.3.2 - Strange problem with exec / move_uploaded_file

2003-07-04 Thread Andrew McCombe
can see it under /tmp) --- Andrew McCombe [EMAIL PROTECTED] wrote: Put enctype=multipart/form-data in your form tag; - Original Message - From: Robert Mena [EMAIL PROTECTED] To: php mailing list [EMAIL PROTECTED] Sent: Friday, July 04, 2003 4:00 PM Subject: [PHP] PHP 4.3.0

Re: [PHP] More on file upload

2003-07-04 Thread Andrew McCombe
Try copy() instead of move_uploaded_file and see what you get. Andrew - Original Message - From: Webmaster [EMAIL PROTECTED] To: Marek Kilimajer [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 04, 2003 5:12 PM Subject: RE: [PHP] More on file upload Directory permissions

Re: [PHP] Minimizing Database Hits

2003-07-01 Thread Andrew McCombe
I wrote class that contains a function that retrieves users shopping cart items from database and then returns an array with qty, item number , item name, etc. So now whenever I want to retrieve the users cart I use the following: $cart_contents = $cart-get_cart_contents(); I then

Re: [PHP] states

2003-07-01 Thread Andrew McCombe
Does anyone know of any built in functions or options for the US states? I want to make a drop down menu and some other things which have the 50 states in it. Is there any shortcut for this with PHP, or do I need to do it all manually in HTML? Please let me know. Thanks. Matt Hi Matt,

[PHP] which GD

2003-06-30 Thread Andrew McCombe
Hi My hosting company has disabled phpinfo(). How can I find out which version of GD they have installed? Regards Andrew McCombe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Here we go with PATHS - again!!

2003-06-28 Thread Andrew McCombe
\\htdocs\\supreme\\image.gif or d://Apache//htdocs//suprem//image.gif might work. Regards Andrew McCombe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Macromedia Flash

2003-06-28 Thread Andrew McCombe
or buttons from page to page. Thanks in advance, Dan Yes you can. I'm currently writing a script that uses php to pull info in from a mysql db and passes the results back to flash as xml. Don't ask me how the flash part works though, i don't do that part. Regards Andrew McCombe

[PHP] [] operator not supported for strings

2003-06-27 Thread Andrew McCombe
for ($i=0; $i mysql_num_rows($rst2); $i++) { $r=mysql_fetch_array($rst2); $level2[$i] = $r['name']; $rst3 = sql_call(SELECT * FROM tmenu WHERE parent=.$r['id']); while ($a=mysql_fetch_array($rst3)) { $level2[$i][] = $a['name']; // giving error here } } [/code] Regards Andrew

[PHP] mysql split?

2003-06-27 Thread Andrew McCombe
^projects/corporate|entertainment|identity/' (this doesnt work))? Hope someone can help. Regards Andrew McCombe Interactive Web Solutions (Stafford) Tel: 01785 279921 - The contents of this e

Re: [PHP] mysql split?

2003-06-27 Thread Andrew McCombe
Does mysql have an explode function? I suppose this is the wrong place to ask... Andrew - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Andrew McCombe [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 27, 2003 5:08 PM Subject: RE: [PHP] mysql split? use explode

Re: [PHP] php.ini

2003-06-25 Thread Andrew McCombe
and renaming it to php.ini - then modifying that. HTH Andrew McCombe Steve have you tried to search the entire drive for the php.ini file? - Original Message - From: Steve Marquez [EMAIL PROTECTED] To: PHP eMail List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 8:59 AM Subject: [PHP