Jump to content

fiddy

Members
  • Posts

    75
  • Joined

  • Last visited

    Never

Everything posted by fiddy

  1. can you please try renaming the table with out using any mysql keywords as table names Just a thought
  2. Yeah i guess you should have the redirect after the mail is sent.
  3. Are they inserting balnk values or no record is inserted
  4. HI, I am not getting your problem clearly anyhow a small thought: Please try using session array if you are not using it. THanks
  5. Also please try giving $result=mysql_query($query) or die(mysql_error()); so that we can know if some error is there
  6. I am not sure and sometime my idea might seem to be stupid: can you please try changing the tablename "all" to something else
  7. Can you please try the query like this: $query ="INSERT INTO all(name,company_name,designation,response,ph_number,email,review) VALUES('".$_POST[textfield3]."','".$_POST[textfield]."','".$_POST[textarea]."','".$_POST[textfield4]."','".$_POST[textfield5]."', '".$_POST[q]."');"; Please post the error you get
  8. I guess its becuse session gets expiered when the window is closed. can you use cookies..
  9. Yeah my idea was to hide the url from user. Presently no ideas other than this if any will post. Thanks
  10. kindly remove the redirect or what ever before trying this...
  11. why dont you try like this: echo "<td><a href='dbimages/".$photo."' target=new>".$photo."</td>";
  12. I have not tried it. But i guess it works. Please give a try and also let me know.. Thanks
  13. In embed src you point to a php file (src="url.php"). In URL.php you print the path of the video file (echo "xxxxx";). At the top of the page in url.php you check if the user has loggedin or not (using cookie or session). ONly if the user is logged in you print the URL(path to video file).
  14. I am not sure but try like this: put action for form tag and nethos as post <form action="xxxxx" method="yyyyyy"> then try getting as : if($_POST) {     $drname=$_POST['drname'];     setcookie("TestCookie", $drname);     }
  15. Hi friends, Can some one tell me the difference between uploading using ftp functions in php and uploding using copy function in php. WHich one is best..
  16. If you use cookies , you have to do the same but reset the cookie
  17. Hope you create a session as soon as the user logs in and you are checking in all the pages if that session exists(if not redirect to login page) . When logging out you can clear all sessions (session_unset();) and redirect to some other page with some message.
  18. Can you pls paste the error. i guess some thing is wrong here: $query = "INSERT INTO contacts VALUES ('$my_first','$my_last')"; mysql_query($query); try like this: $query = "INSERT INTO contacts (field1,field2) VALUES ('$my_first','$my_last')"; mysql_query($query);
  19. Is $_COOKIE["user"] set . Is it entering the if condition...
  20. Hi Friends, if some one has the mysql country table kindly help me.. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.