RE: [PHP-DB] Having more problems

2002-07-06 Thread César Aracena
Read my second answer... I find very strange that closing curly bracket *}* after the tag. Try to remove the closing one from the *ELSE* statement. > -Original Message- > From: Shiloh Madsen [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 07, 2002 2:33 AM > To: César Aracena > Subject: R

RE: [PHP-DB] Having more problems

2002-07-06 Thread César Aracena
On the other hand... what are you closing of PHP after the form? Maybe you should consider writing your code in a more clear way... try indenting it all. > -Original Message- > From: César Aracena [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 07, 2002 2:16 AM > To: 'Shiloh Madsen'; [EMA

RE: [PHP-DB] Having more problems

2002-07-06 Thread César Aracena
At a first glance, it seems to me that the PHP part is ok. Maybe the problem is in the HTML part of the page... try to put

[PHP-DB] Having more problems

2002-07-06 Thread Shiloh Madsen
The newbie is still having troubles heh. Maybe some kind soul can tell me what im doing wrong this time. This is the code for a page I am working on. When I try to bring up the page in a browser, I just get a white page, instead of having the HTML display. Anyone able to tell me why?

[PHP-DB] Datetime field comparison incorrect

2002-07-06 Thread Casey Allen Shobe
Hi, I'm querying 2 datetime fields from a MSSQL database. The format returned is 'Jul 06 2002 01:57PM' or similar. I then try to do a comparison in PHP, to see if one is greater than the other. The problem is that PHP believes 'Jul 06 2002 12:43PM' is greater than 'Jul 06 2002 01:08PM', which

RE: [PHP-DB] Retrieving/Displaying hyperlinked images with PHP

2002-07-06 Thread César Aracena
Sorry. The code down there should read: [snip] // Then show image and/or details echo ""; [snip] > -Original Message- > From: César Aracena [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 07, 2002 12:46 AM > To: 'markbm'; [EMAIL PROTECTED] > Subject: RE: [PHP-DB] Retrieving/Displaying hy

RE: [PHP-DB] Retrieving/Displaying hyperlinked images with PHP

2002-07-06 Thread César Aracena
Maybe I don't understand what your need is, but here's a shot. What you want to do, I've accomplished before just by placing a field in the database which points to the image name called i.e. product_image. What this field contains, is just the name of the picture i.e. prod_001.jpg. When the *det

[PHP-DB] Retrieving/Displaying hyperlinked images with PHP

2002-07-06 Thread markbm
I am trying to build a "product detail" page that pulls data from a MYSQL database using PHP. The data for the page includes product images, which I am trying to link to (i.e. from their location on the web server) instead of loading the images into the database. However, I cannot find any sample

RE: [PHP-DB] template problem!!!

2002-07-06 Thread Peter Lovatt
Hi Just enclose it in You can do this in either templates or html pages If you want it to work you can either save as .php, include it in a php script or set your server to parse htm pages with php. HTH Peter --- Excellence in internet and open so

[PHP-DB] RE:using rand() in multiple insert ?

2002-07-06 Thread Dave Carrera
Hi All I worked it out. If you would make use of this kind of thing email me and I will gladly give the code example. Thanks Anyway Dave C

RE: [PHP-DB] phpmyadmin download

2002-07-06 Thread Ruprecht Helms
Hi Page Works Web Solutions, >Can someone point me in the direction of where to get a copy of > phpmyadmin as a .pkg file? a tarball of it you can get via the link http://www.php-center.de There is a links to php-projects and software. Regards, Ruprecht ---

[PHP-DB] using rand() in multiple insert ?

2002-07-06 Thread Dave Carrera
Hi All I would like to know if it is possible to use rand in an insert query. I have to create a table of about 500 users for a project allocating a individual password for each. I was thinking that putting a rand() in the relevant valuses area of my mysql insert statement would do it. Could