[PHP] Very urgent!!!

2001-07-05 Thread Duy B

Dear all,
Is there anybody know how to upload a file gif or jpg from a form into Oracle database?
I am very keen to solve that problem. Please show me soon.
Thanks you very much.
Best regards,
BaoDuy 



[PHP] Oracle question

2001-07-09 Thread Duy B

Dear all,
If i want to use id field in Oracle database, how can i do?
For example, in MySQL
create table test (
id int not null auto-increment primary key,
ten char(10));

So that, when i insert a new row into MySQL database, id increases by 1.

But in Oracle i couldn't use as that.
Somebody could help me.
Thanks you all,
BaoDuy






[PHP] date

2001-07-19 Thread Duy B

Hi all,
I have a view containing a char value. I use select to_date(thoigian,'yy-mm-dd 
hh24:mi:ss') from this view. But i can't see the time, it's only appear as 
"DD-MON-YY". Anybody could show me how to see the time.
Thanks you in advance.
Best regards,
BaDu



[PHP] Programming by PHP

2001-07-24 Thread Duy B

Dear all,
I have a file HTML as following:








  NHËP TH¤NG TIN THIÕT 
BÞ
  
  
 
      
  
 
  STT
  Tªn thiÕt 
bÞ
  Sè Seri
  T×nh tr¹ng 
biÕn 
®éng
  Ghi chó

 
   

  
   

  
   

  
   

  
   

  

 
   

 

  
  
   
 
 
   
   
  
   

  
  
  
 
     

  
 
  

 

 
Is there anybody show me a script so that when i click button Addmore, this HTML page 
reload and add more a row.
Thanks you very much
BaDu 




[PHP] About PHP & Oracle

2001-08-30 Thread Duy B

Dear all,
Now i have an Oracle database. I have created a table contains 43 rows for example. I 
use PHP to contact with my oracle. I want to write a script access my Oracle for 
display data into table. Each time display 9 rows. So I dont't know how to program 
such as "Page 1 2 3 4 Next".Can anybody show me the way?And addition, when i use SQL 
command as "select * from table_name where id>'$id' ", it didn't display at all.
Thanks you in advance.
BaDu



[PHP] Very urgent for being help!!!

2001-09-05 Thread Duy B

Dear all,
Now i have an Oracle database. I have created a table contains 43 rows for example. 
Fields  of my table are id primary key, ten char, tuoi int, diachi char. I use PHP 
script to contact with my oracle table and search information I need. After that 
display into table on my screen. Each time it displays 10 items. Suppose, I have 
created a html page to search with 'ten'. Could anybody show me how to print each time 
10 items, and [Priv] or [Next] as well? I am very appreciated for receiving your 
replies. Thanks you all.
Best regards,
BaDu