Search found 55 matches

by prasadharischandra
Sun Mar 30, 2003 4:13 am
Forum: Job Hunt
Topic: Open Source developers needed
Replies: 5
Views: 4382

I would like to be one too!!!

:D I would like to be one too!!!
prasad
by prasadharischandra
Thu Aug 15, 2002 10:50 pm
Forum: PHP - Code
Topic: SQL
Replies: 1
Views: 931

SQL

my code is this for($i=0;$i<=$count_number_of;$i++){ $checklist_pass= mysql_query("SELECT * FROM pase_res WHERE (pas_dep_flight='$flight_list_no' and pas_dep_status='B' and pas_dep_board_seq='$i') or ( pas_rtn_flight='$flight_list_no'and pas_rtn_status='B' and pas_rtn_board_seq='$i')")or d...
by prasadharischandra
Thu Aug 15, 2002 6:21 am
Forum: PHP - Code
Topic: SQL
Replies: 3
Views: 1235

Re: SQL

hai mac,
i did it using two querys but it's not a good way .
write to me if u have like that problem how u are solving.
i highly appriciated u;re helping
by prasadharischandra
Tue Aug 13, 2002 11:45 pm
Forum: PHP - Code
Topic: SQL
Replies: 3
Views: 1235

SQL

my coding is for($count_sql1=$count_load;$count_sql1<$count_load_limit;$count_sql1++) { $count_bag_pieces=mysql_query("SELECT sum(pas_dep_bg_pcs) as pcs,sum(pas_rtn_bg_pcs) as pcs_r,pas_dep_flight,pas_rtn_flight FROM pase_res WHERE (pas_dep_flight='$flight_list_no' and pas_dep_status='B' and pa...
by prasadharischandra
Tue Aug 13, 2002 12:43 am
Forum: PHP - Code
Topic: distinct select
Replies: 2
Views: 1082

distinct select

in my select
i have 3 same values but hardcord
eg:
745
754
754
764
764
how to take
745
764
754
by prasadharischandra
Mon Aug 12, 2002 10:54 pm
Forum: PHP - Code
Topic: mktime
Replies: 3
Views: 1195

time

my code is $today = date("j F ,Y"); #.........Month array.............. $allMonths["Jan"]=1;$allMonths["Feb"]=2;$allMonths["Mar"]=3;$allMonths["Apr"]=4; $allMonths["May"]=5;$allMonths["Jun"]=6;$allMonths["Jul"]=7;$allMon...
by prasadharischandra
Mon Aug 12, 2002 4:11 am
Forum: PHP - Code
Topic: pages
Replies: 1
Views: 1018

pages

my code is $limit=31; $Prev = "Previous"; $Next = "Next"; $numresults=mysql_query("select * from pase_res where (pas_rtn_flight ='$manifest_ticketno' and pas_rtn_status ='B')or (pas_dep_flight='$manifest_ticketno' and pas_dep_status='B')"); $numrows=mysql_num_rows($numr...
by prasadharischandra
Mon Aug 12, 2002 3:58 am
Forum: PHP - Code
Topic: mktime
Replies: 3
Views: 1195

mktime

if i convert to 72 hrs mktime
after that
i want to convert to mktime value to 72 hrs how to do that
by prasadharischandra
Fri Aug 09, 2002 7:17 am
Forum: PHP - Code
Topic: time
Replies: 0
Views: 903

time

my coding is # get Hours and Minute $timeTake=explode(":",$select_time); # get month and Year $mYear=explode(" ",$select_myear); # get set variables $monthTake=$allMonths[$mYear[0]]; $yearTake=$mYear[1]; $dateTake=intval($select_day); $hourTake=intval($timeTake[0]); $minuteTake=i...
by prasadharischandra
Fri Aug 02, 2002 12:09 am
Forum: PHP - Code
Topic: select
Replies: 4
Views: 1726

my coding working okkkkk i found it
by prasadharischandra
Thu Aug 01, 2002 10:51 pm
Forum: PHP - Code
Topic: select
Replies: 4
Views: 1726

if i add 2:00 i want to come with selected
2:00 because i want to edit
in my coding it's not happening where is the wrong and give me
right way
by prasadharischandra
Thu Aug 01, 2002 5:54 am
Forum: PHP - Code
Topic: select
Replies: 4
Views: 1726

select

what's wrong my coding <? $max=25; $selected=""; for($second=1;$second<$max;$second++) { for($j=0;$j<6;$j++){ $mil=$j*10; $time=$second.":".$mil; if( ($time=='1:0')||($time=='2:0')||($time=="3:0")||($time=="4:0")||($time=="5:0")||($time=="6:0&qu...
by prasadharischandra
Wed Jul 24, 2002 4:09 am
Forum: Databases
Topic: SQL
Replies: 10
Views: 5089

my problem is
eg:
name testno
saliya 3
prasad 4
matara 5

i want to find using SQL Count saliaya has 3,prasad has 4 ...etc
please let me know how to do that using array
eg:
if array(0) it's should be saliya
echo array(0);//saliya 3
by prasadharischandra
Wed Jul 24, 2002 3:47 am
Forum: Databases
Topic: SQL
Replies: 10
Views: 5089

yes i look but i want to know how to take it using php
i.e how to take out put from php
eg:
echo $count;
by prasadharischandra
Wed Jul 24, 2002 3:15 am
Forum: Databases
Topic: SQL
Replies: 10
Views: 5089

i want to count name fileds that is how many names in name fields
not using mysql_num_rows