[PHP-DB] stuck on stupid...can't find the bloody error...

2004-04-24 Thread Dan Bowkley
okay, please help the newbie idiot. Forgive me, for I cannot code my way out of a paper bag. What, O great Oracle of PHP Goodness is wrong with this picture? When I punch in a work order, it spits back a blank page and does nothing whatsoever with the db. Even if I deliberately enter a wor

Re: [PHP-DB] move_uploaded_file

2004-04-24 Thread Marcjon Louwersheimer
Windows works a bit different. You have to define which folders and files get access to the internet. After that you can specify the web permissions using the iis snap in. This is of course if you're using iis. I'm not sure for apache or other servers handle it. -- Marcjon -- PHP Database Mail

Re: [PHP-DB] move_uploaded_file

2004-04-24 Thread Rachel Rodriguez
--- matthew perry <[EMAIL PROTECTED]> wrote: > I have a file uploading function that works well on > my local server. > It finds a picture and uploads it into a defined > directory. Matthew, if you are the confident that your function works correctly, your next check should be on what permissions

[PHP-DB] move_uploaded_file

2004-04-24 Thread matthew perry
I have a file uploading function that works well on my local server. It finds a picture and uploads it into a defined directory. Unfortunately this function does not work when I try to upload to my web host. It says I do not have the proper permissions. I believe this has to do with the fact that

[PHP-DB] Re: Anyone Subscibed to PHP-GTK-General?

2004-04-24 Thread Jimmy Brock
Also, the last post was on 27 August 2003...so this group is probally not active. You might want to contact someone at gtk.php.net to see what going on with this newsgroup. The last I heard they were planning on a new release for gtk for php 5. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

[PHP-DB] Re: Anyone Subscibed to PHP-GTK-General?

2004-04-24 Thread Jimmy Brock
In looking at the lists available on news.php.net it seems the links to the rss and rdf are missing for php-gtk So it may not be available. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Warning: This is OT. > > Just wondering if anyone receives emails from > [EMAIL PROTECTED] I'v

[PHP-DB] Re: Hi I am new

2004-04-24 Thread Jimmy Brock
Since you didn't mention what database you are using I'm assuming MySQL. Here's a good place to start: http://dev.mysql.com/tech-resources/articles/ddws/ "Water_foul" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am new to databases and php and I was wondering if any one would p

Re: [PHP-DB] db query problem

2004-04-24 Thread Mikhail U. Petrov
Hi! Sorry for my missing.. select t1.userId, t1.standartId, t2.userId from tasks as t1 left join tasks as t2 using(standartId) where t1.userId='jimmy' I think it should work. Saturday, April 24, 2004, 5:12:56 PM, Jimmy wrote: JB> I'm using MS SQL Server 2000 and I have a

Re: [PHP-DB] db query problem

2004-04-24 Thread Mikhail U. Petrov
Hi! Try this: select t1.id, t1.standartId, t2.id from tasks as t1 left join tasks as t2 using(standartId) where t1.id='jimmy' Saturday, April 24, 2004, 5:12:56 PM, Jimmy wrote: JB> I'm using MS SQL Server 2000 and I have a table called tasks with the JB> following schema:

[PHP-DB] db query problem

2004-04-24 Thread Jimmy Brock
I'm using MS SQL Server 2000 and I have a table called tasks with the following schema: id= int identity 1 1 not null standardId= varchar(15) not null userId= varchar(15) not null status= varchar(15) not null beginDt= datetime endDate=datetime active=char(1) // flag 1=display 0=do not display I n

Re: [PHP-DB] Inserting date into a table

2004-04-24 Thread John W. Holmes
Pambos Nicolaou wrote: I have created the table below: CREATE TABLE questions (ID INT NOT NULL AUTO_INCREMENT,name VARCHAR(30),day TIMESTAMP, question TEXT, email VARCHAR(30),answer TEXT, PRIMARY KEY(ID)); I want to insert into the TIMESTAMP field the date automatically. How can I do it using