No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
hey, there are many errors in your code. you have to modify it to be like this <?php while($row = mysql_fetch_array($result)) { echo "<tr>"; //this one is good echo "<td>" . $row['ID'] . "</td>"; // this one is good echo "<td>"; echo "<input name=\"txtf\" type=\"text\">"; echo "</td>"; echo "<td>" . …
first of all, in comparision you should not put the string as the first compared object.. what i mean is you should write it like this. `if($var != 'string'){}` not `if('string' != $var){}` second, you should make a var_dump($condo_nm) to see what it actually has. and you are comparing stmnt1 …
hey heshanm, i don't know if i'm able to help you but you may consider your first post problem as you should not define the variables in object oriented programming like when you are writing in simple php.. i'll chang your code to be more efficient and try it so …
a problem like yours appears if you are using $_REQUEST global array, instead you should use the $_POST[] global array and it's more secure for you.. aw you sql statement doesn't have an kind of error.. but usually we put the post or request variables (index) into another variable... like …
hello every one..... i know that you may laugh at this but it is happening with me... i have a domain called lightc.com and the problem i'm facing that some users ( not all ) just few of them are telling me that they are just asking for lightc.com and …
if you want to echo any php variable inside a string you should use this way of writing '{$variable}' and nothing else because the other might be good a echo or print but you will face problems in sql aw it's like [CODE] $trick = $_SESSION['whateveryouwant']; print("this is a session …
$query = "select * from tblProducts_info where P_Category = '{$P_Category}'"; this will solve the appeared error if you want it to be saved in the session after the sql fetched like: while($result = mysql_fetch_array(mysql_query($query))) { $_SESSION['p_category'] = $result['P_Category']; } this is a simple way and you can make more comlicated …
what kind f mysql server do you use???? aw regardless to the version of mysql server you can use a simple php code to solve your problem like the str_replae(); you can replace the Greek char with some ASCI code before saving it ans when you retrieve it you can …
The End.
mamdouh ramadan