Jump to content

smart

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by smart

  1. In my index.php i have included adminheader.php and in adminheader.php page i have included my connection.php file it's not working i can fetch the data in my index.php pageBut when i use mysql_real_escape_string() it's now working.
  2. when i connect the database connection file like this require("adminheader.php") it's not working but when i write php code in the same pagemysql_connect("localhost","root","") or die ("could not connect to mysql");mysql_select_db("cabinatecart") or die ("no database"); above the file then it works.why
  3. Yes i have made the connection but i have included connection.php like this in require("adminheader.php");
  4. when i use this CODE$content = $_POST['content'];it's working and inserting data in database but when i useWHEN i use$content = mysql_real_escape_string($_POST['content']); how i can solve this problem ?.
  5. is there any other simple way to do this bcz it will take time i have to this project asap.
  6. Can u give me some example or any tutorial link for this
  7. Hi i want to add custom link in my auto generated link for example like this. 1)Home=http://localhost:8080/test/index.php?id=12)About=http://localhost:8080/test/index.php?id=23)Contact=http://localhost:8080/test/index.php?id=3i want link this4)Facebook=http://localhost:8080/test/index.php?id=4i want to replace this auto generate link for facebook link with http://www.facebook.com/test This is what i want(Just the functionality)
  8. smart

    video

    Hi everyoneI wnt to know what is the best way to use video in webapplication.(use can upload video in website)Regards Nitesh
  9. u can use implode and explode function to limit the character.
  10. Hi everyone i want to redirect page it's working perfectly in local host but in live server it's not redirecting here is the codeheader("Location:".DIRSERVERNAME . "php/adminscroller.php");Thanks in advanced.
  11. Hii have created custom cms using php and mysql there is option for image uploading in pages everything is working absolutly fine but when i edit the page and i did't upload any news image for update hit submit the image (input file upldated) goes blank in browser can anyone help.I just want if i
  12. Yes you r absolutly right pls tell me how i can do this
  13. Hello everoneI want to run two string query with get method like this http://w3schools.invisionzone.com/index.php?showtopic=12509&view=findpost&p=67512how to write two query string Thanks
  14. problem solved thank you.
  15. Hello everyone iam creating pages in dynamiclly but there is 1 portfolio page which design is totally different from rest of the dynamic pages i have created portfolio.php page how i can use this portfolio.php page in my website http://localhost:8080/test/index.php?id=6http://localhost:8080/test/index.php?id=2when user click on portfolio link it will show portfolio.php not the id how i can do this. may be something like thishttp://localhost:8080/test/index.php?portfolio.php Thanks in advanced
×
×
  • Create New...