[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






[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] Programming by PHP

2001-07-24 Thread Duy B

Dear all,
I have a file HTML as following:

HTMLHEAD
META content=text/html; charset=windows-1252 http-equiv=Content-Type
META content=Microsoft FrontPage 4.0 name=GENERATOR
title/title
/HEAD
BODY bgColor=#FF leftMargin=0 topMargin=20
FORM action=/nhap1.php3 method=post
  p align=centerbfont face=.VnTimeHNHEuml;P THcurren;NG TIN THIOtilde;T 
BTHORN;/font/b/p
  
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
 
  nbsp;nbsp;nbsp; 
  table width=75% border=0 cellspacing=2 align=center cellpadding=1
tr bgcolor=#FF9933 
  td height=23 width=6%STT/td
  td height=23 width=20%font face=.VnTimeTordf;n thiOtilde;t 
bTHORN;/font/td
  td height=23 width=12%font face=.VnTimeSegrave; Seri/font/td
  td height=23 colspan=4font face=.VnTimeTtimes;nh trsup1;ng 
biOtilde;n 
reg;eacute;ng/font/td
  td height=23 width=23%font face=.VnTimeGhi choacute;/font/td
/tr
tr bgcolor=#CC 
  td width=6% 
input type=text name=textfield size=5
  /td
  td width=20% 
input type=text name=textfield2 size=20
  /td
  td width=12% 
input type=text name=textfield3 size=20
  /td
  td colspan=4 
input type=text name=textfield33 size=32
  /td
  td width=23% 
input type=text name=textfield42 size=20
  /td
/tr
tr bgcolor=#CC 
  td colspan=8bi 
input type=submit name=submit value=Add More
/i/b /td
/tr
  /table
  INPUT name=id type=hidden
  DL 
DTBInbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; 
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; 
  /I/B 
DTIBnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/B/I 
  /DL
  DIV align=center /DIV
BLOCKQUOTE
  BLOCKQUOTE
  
Pnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
 
nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; font 
face=.VnTime size=4 

/fontnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
 
  /P
/BLOCKQUOTE/BLOCKQUOTE
Pnbsp;/P/FORM
/BODY/HTML
 
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] 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] 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] Very urgent!!!

2001-07-06 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