Search found 97 matches
- Thu Jun 22, 2006 7:09 pm
- Forum: PHP - Code
- Topic: Database problem that's driving me crazy
- Replies: 2
- Views: 420
- Thu Jun 22, 2006 6:59 pm
- Forum: PHP - Code
- Topic: Database problem that's driving me crazy
- Replies: 2
- Views: 420
Database problem that's driving me crazy
i have a filed in the table called NDA and a simple condition like this: if ($row_Recordset3['NDA']==1) { print "<table width='450' border='0' cellspacing='0' cellpadding='0'><tr><td width='305' valign='top'><span class='title1'>"; else { } Problem is that it does not work. Is there someth...
- Thu Jun 22, 2006 12:20 pm
- Forum: PHP - Code
- Topic: logic related question
- Replies: 8
- Views: 823
- Wed Jun 21, 2006 8:03 pm
- Forum: PHP - Code
- Topic: logic related question
- Replies: 8
- Views: 823
- Wed Jun 21, 2006 7:55 pm
- Forum: PHP - Code
- Topic: logic related question
- Replies: 8
- Views: 823
shorter
Wnen i enter a hard coded value it works. weird. In short, this is what i am trying to do, i have a field "neednda" in the table, and i need to display a HTML section if the value is 1 and hide it if the value is 0. Something is wrong in the code i have: if ($row_Recordset3['NDA']!='0') { ...
- Wed Jun 21, 2006 7:43 pm
- Forum: PHP - Code
- Topic: logic related question
- Replies: 8
- Views: 823
- Wed Jun 21, 2006 7:39 pm
- Forum: PHP - Code
- Topic: logic related question
- Replies: 8
- Views: 823
logic related question
i have defined a database connection mysql_select_db($database_pickageek, $pickageek); $query_Recordset3 = sprintf("SELECT NDA FROM awapr WHERE `session` = '%s'", $colname_Recordset3); $Recordset3 = mysql_query($query_Recordset3, $pickageek) or die(mysql_error()); $row_Recordset3 = mysql_f...
- Wed Jun 21, 2006 5:28 pm
- Forum: PHP - Code
- Topic: Weird things with if statement or "how to lose your min
- Replies: 18
- Views: 984
- Wed Jun 21, 2006 4:43 pm
- Forum: PHP - Code
- Topic: Weird things with if statement or "how to lose your min
- Replies: 18
- Views: 984
- Wed Jun 21, 2006 2:21 pm
- Forum: PHP - Code
- Topic: Weird things with if statement or "how to lose your min
- Replies: 18
- Views: 984
- Wed Jun 21, 2006 2:03 pm
- Forum: PHP - Code
- Topic: Weird things with if statement or "how to lose your min
- Replies: 18
- Views: 984
- Wed Jun 21, 2006 1:35 pm
- Forum: PHP - Code
- Topic: Weird things with if statement or "how to lose your min
- Replies: 18
- Views: 984
- Wed Jun 21, 2006 1:22 pm
- Forum: PHP - Code
- Topic: Weird things with if statement or "how to lose your min
- Replies: 18
- Views: 984
- Wed Jun 21, 2006 12:51 pm
- Forum: PHP - Code
- Topic: Weird things with if statement or "how to lose your min
- Replies: 18
- Views: 984
Weird things with if statement or "how to lose your min
i have a simple, dumb IF statements: $type = $row_Recordset3['ptype']; mysql_select_db($database_pickageek, $pickageek); if ($type=="unkn"){ $query3 = "UPDATE `awapr` set `pricemin` = '1' where `session` = '$sess'"; } if ($type=="unkn"){ $query3 = "UPDATE `awapr` s...
- Mon Jun 19, 2006 6:23 pm
- Forum: PHP - Code
- Topic: how to close window without JabbaScript
- Replies: 5
- Views: 306
Re: how to close window without JabbaScript
Is there a php function that will close the current window? I would like to window to be closed after user upload the file but i dont want to use button with JavaScript for it, did anyone had a same problem? thanks. PHP is a server-side application. Closing windows always takes place on the client-...