1,257 Posted Topics

Member Avatar for classss
Member Avatar for eyeda

You should keep only one variable lik SESS_LEVEL user that everywhere, do not user separate variables. after header function always write exit, to avoid further execution of page header("xy.php"); exit;

Member Avatar for eyeda
0
194
Member Avatar for mrkm1188

select ad.EmployeeID, ad.Surname, ad.Givenname, ad.Company, ad.Office , BD.EmployeeID, bd.Company, bd.Office, bd.First, bd.Last from ad inner join bd on ad.employeeid =bd.employeeid where (ad.surname<>bd.last or ad.givenname<>bd.first or ad.company<>bd.company or ad.office<>bd.office)

Member Avatar for mrkm1188
0
181
Member Avatar for ThePythonNoob

because when u pass "click" variable in fucntion, it overrides global "click". so do it without function variable.

Member Avatar for ThePythonNoob
0
152
Member Avatar for casheltown

1 One Organisation may have many Contacts; 2 Some Contacts have no Organisation. these 2 are conflicting needs, you need to decide first on this which is preferrable for you and by the way what u mean by contacts, its just address or anything else

Member Avatar for casheltown
0
154
Member Avatar for CarterLangley

As far as I know (my attempt failed in past) I think on network drive, you can not host apache server. So if you have some space in your physical harddrive, there you can assing folder for hosting. Install Apache Install PHp Install Mysql All msi setups available, for windows …

Member Avatar for CarterLangley
0
110
Member Avatar for hwoarang69

i will not use php ever, I will use mysql stuff to add time and date insert into table1 (col1,col2,today_date,today_datetime) values ('col1value','col2value',current_date(),current_timestamp())

Member Avatar for urtrivedi
0
228
Member Avatar for showman13

I hope this is what you are looking for: select t.* from trans_table t left outer join position_table p on t.trans_id=p.pos_trans_id where p.pos_trans_id is null

Member Avatar for showman13
0
198
Member Avatar for vizz

I will use absolute position styel for all five divs like shown below, just change top left for others #div1 { position:absolute; top:1px; left:300px; }

Member Avatar for vizz
0
75
Member Avatar for hwoarang69

I guess you mean foreign key by f-key. you table structure shows u already using f-key in your cart-table. Here your user_id column in cart-table is f-key because it refers to id column of user-table. so I am not able to understand why u are confused?

Member Avatar for pritaeas
0
123
Member Avatar for hwoarang69

You need to learn ajax request, html page sends request to server on any event with parameters, there on server you must have some script to handle such request , the script will return you some output, that you can reflect on html page, all this will not need to …

Member Avatar for urtrivedi
0
111
Member Avatar for Zaina jee

you are overwriting pervious value, keep on appending as shown below, with + before = document.divfrm.div.value+=d; document.divfrm.div.value+=sp;

Member Avatar for Zaina jee
0
171
Member Avatar for shihab2555

cereal already told you the solution alter table staff_info add primary key('name','day'); or you can open table structure in phpmyadmin, and check on both column, then click on primary key at the boottom of table structure. So after doing this, table will not expect same day for any person. But …

Member Avatar for vgaldikas
0
169
Member Avatar for monching

1) you can creat binary column in table and store image in binary format in table itself 2) you can create column with file name/path reference only and store actual file as os file in some folder In my view Second approach is better.

Member Avatar for monching
1
17K
Member Avatar for hwoarang69

how it is stored in mysql, Is it in one column one row, or all features are in separte record? If it is strored using textarea (with user manually breking line in textarea) then following trick may work, no need of \n echo nl2br($features_db);

Member Avatar for urtrivedi
0
151
Member Avatar for rony001

its done on its own. when you create table when you add coulmn, information scheams is managaged by mysql server. You dont have to worry about it, you just use like the query you are using above

Member Avatar for rony001
0
94
Member Avatar for Vijaysurya

what is structure and relation of poeple with layer table (how layer related to people)

Member Avatar for urtrivedi
0
138
Member Avatar for mbarandao

SELECT C.theDate, IFNULL( sum(case when DATE( CAST( H.timeentry AS DATE ) ) is null then 0 else 1 end), 0 ) AS countForDate FROM calendar AS C LEFT JOIN history AS H ON C.theDate = DATE( CAST( H.timeentry AS DATE ) ) WHERE YEAR(C.theDate) = YEAR(NOW()) AND MONTH(C.theDate) = MONTH(NOW()) …

Member Avatar for mbarandao
0
460
Member Avatar for ayesha789

For cc on your own you may try $mail->addCustomHeader("Cc: {$yourccmailid1},{$yourccmailid2}");

Member Avatar for keshav539
0
3K
Member Avatar for sultankhan

if u have timestamp column in ur table then u can order by that column in reverse order select * from post order by post_time desc

Member Avatar for urtrivedi
0
155
Member Avatar for kikiey

1 )conect both with lan wire 2) open tcp /ip in lan addapter seeting ip address for pc 1 192.168.1.1 255.255.255.0 192.168.1.2 ip address for pc 2 192.168.1.2 255.255.255.0 192.168.1.1 use same numbers its ready now

Member Avatar for john.knapp
0
466
Member Avatar for haissam.halawi.9

you must set "url" variable in your goto function, it is blank now i guess.

Member Avatar for urtrivedi
0
130
Member Avatar for ToasterMango

so many datamodel is here available, I hope u will find one for u, or u can see more then one and can make ur own using them. http://www.databaseanswers.org/data_models/index.htm

Member Avatar for urtrivedi
0
133
Member Avatar for Spack101

I think mod can move this thread to "Business Exchange" category. Spack you may get better response there

Member Avatar for deceptikon
0
182
Member Avatar for websponge

before running query echo its output and run in phpmyadmin or observe prepared query statment echo $result; mysql_query($result);

Member Avatar for websponge
0
159
Member Avatar for mpc123
Member Avatar for mpc123
0
196
Member Avatar for Dani

I feel daniweb is only IT forum getting new post every five minute (I assume). No other forum yet I have seen so active. People says man learn from experince, but here you can learn from others precious experience too without paying single penny. 1) I am here to update …

Member Avatar for john.knapp
0
272
Member Avatar for GlenRogers
Member Avatar for AndreRet

put echo /table out of while loop (see line 24,25,26 they shold look like following) } echo "</table>"; mysql_close($con);

Member Avatar for AndreRet
1
196
Member Avatar for JoyBh

what is that 3 times asterisk sign around header function on line 100? ***

Member Avatar for JoyBh
0
208
Member Avatar for eyeda

your query is fine. just check what you getting in POST array when you submit form place following code in the begining of your page after first php tag <?php echo "<pre>"; print_r($_POST); echo "</pre>"; die('stop to check post array');

Member Avatar for eyeda
0
1K
Member Avatar for gahhon

txtRegistration field is not having value , before calling function, make uset that field has some value.

Member Avatar for gahhon
0
119
Member Avatar for andarivaadu1

what is ur table structure and what is ur purpose(what u want to update with what value)? Only query is not enough to understand your problem.

Member Avatar for andarivaadu1
0
198
Member Avatar for TIM_M_91

html code <form method='post' action=process.aspx> <select name=agerange> <option value='0-5'>0-5</option> <option value='6-20'>6-20</option> <option value='21-80'>21-80</option> </select > <input type=submit value=submit> </form> process.aspx On pageload add this Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load //you can split agerange with hyphen and get age_from age_to in 2 array elements, …

Member Avatar for urtrivedi
0
185
Member Avatar for DaveTheSinger
Member Avatar for eburlea
Member Avatar for abcd777

what is the problem u face error, no result, invalid result or any other tell specific problem

Member Avatar for urtrivedi
0
196
Member Avatar for scratchwiz

match and verify your design here, i hope u find some clue here http://www.databaseanswers.org/data_models/libraries_and_books/index.htm

Member Avatar for urtrivedi
0
140
Member Avatar for ferdinandviper

You need to learn tutorials and need to understand concept of dynamic pages. some body here can help u find bugs/errors in your code, but its not possible for anyone to help u teach whole system here in this forum. you can start with http://www.w3schools.com/php/php_mysql_intro.asp

Member Avatar for urtrivedi
0
139
Member Avatar for eman neercs

I put group by in query and put conidtion outside of while to show "no-record" <?php include 'db.php'; $term = $_POST['EAN']; $term = TRIM($term); $sql = mysql_query("SELECT Name, Brand, EAN, sum(orderedquantity) As SumS FROM $salesdb WHERE EAN LIKE '%$term%' group by Name, Brand, EAN Limit 0,5"); $i=-1; while ($row = …

Member Avatar for urtrivedi
0
158
Member Avatar for hwoarang69
Member Avatar for mpc123

line 11 must have double equal to, comparison, u put only 1 if($row['field4'] ='') make it if($row['field4'] =='')

Member Avatar for mpc123
0
111
Member Avatar for anand01

you need to subscirbe to service provided by vendor like verisign, they will issue certificate for your webserver, to make commnuction to your website as secure communication.

Member Avatar for jalpesh_007
0
144
Member Avatar for xXghostXx

ON keyword is missing in your code select persons.firstname,orders.cost from persons inner join orders on persons.p_id=orders.p_id where (cost between 0 and 150)

Member Avatar for xXghostXx
0
280
Member Avatar for dinhunzvi

see line 64 to 68, i m updating it in our code while ( $row = mysql_fetch_array( $result ) ) { if($row['bankID']==$_POST['bankID']) $selectbank=" selected "; else $selectbank=""; ?> <option value="<?php echo $row['bankID']; ?>" <?php echo $selectbank;?> ><?php echo $row['bank']; ?></option> <?php }

Member Avatar for adam.adamski.96155
0
348
Member Avatar for GlenRogers

you can keep status flag in table in mysql with each image. say active inactive and when u display gallery in php, just put where status='active' so it will display only active images. so i suggest not to delete images physically

Member Avatar for diafol
0
332
Member Avatar for phingko

try to do that in asp code may be in logout.asp (if it exists) or where where u destryoing session, there u put following line <% Response.Redirect("front.htm") %>

Member Avatar for urtrivedi
0
274
Member Avatar for mail.sujitkulkarni
Member Avatar for mail.sujitkulkarni
0
3K
Member Avatar for baig772

http://phpsense.com/2007/php-pagination-script/ try this class, its simplest pagination class i have seen so far.

Member Avatar for urtrivedi
0
75
Member Avatar for vizz

if you want to display one by one in sequece like 1,2,3 then i will suggest you to find next intitially pass 0 as id $id=0;//this must be not part of fetch script, it may be passed in post or get now search next maximum active id from pass id …

Member Avatar for broj1
0
385

The End.