Search results

  1. G

    My php include is not working

    I have installed LAMP and have started working on my web site. For some reason, my include isn't working. Here is what I have. <?php $title="Study Question | Your Study Buddy"; $currentpage="includes/pages/index.php"; include "includes/page.php"; ?> It will include a file if it is...
  2. G

    Direct editor of MySQL database?

    I used to use it but I get logged out too often.
  3. G

    How do I configure KompoZer to directly edit my web pages?

    How do I configure KompoZer to directly edit my web pages?
  4. G

    Direct editor of MySQL database?

    It's on Ubuntu
  5. G

    Direct editor of MySQL database?

    When I was on Windows, I had a direct editor installed on my computer. I do not remember the name of it. What are some editors that can be used to work on my database?
  6. G

    Looking for web editor to use on Linux

    Looking for a web editor that will directly save files on my site. Would prefer it save to my computer at the same time but really need it to save to my server. What do you recommend?
  7. G

    What is Linux's version of Dream Weaver?

    Mac would be a lateral move. Linux is a large step up from either.
  8. G

    What is Linux's version of Dream Weaver?

    How about Kubuntu?
  9. G

    What is Linux's version of Dream Weaver?

    Here are the things I like about DW. When I save a file, it saves it both on my system and on my server. When I have a page that I am only working with text or mostly with text, I like using the wysiwyg to help out with that. I'm used to it.
  10. G

    What is Linux's version of Dream Weaver?

    Okay, I'll now admit it. Windows sucks. Tomorrow I will be installing Ubuntu. I like Dream Weaver. But I can change. Any recommendations will be greatly appreciated.
  11. G

    Copying information in a MySQL table with an apostrophe

    So, if I escape it before saving it into the database, then remove the \ when a user retrieves the information, how does this solve anything?
  12. G

    Copying information in a MySQL table with an apostrophe

    The php code looks like this. $results = mysql_query("SELECT * FROM questions WHERE user = '$shareduserName' AND subject = '$subject' AND topic = '$topic'"); mysql_query("INSERT INTO topics (userid, subject, topic) VALUES ('$user', '$mysubject', '$mytopic')"); while ($row =...
  13. G

    Copying information in a MySQL table with an apostrophe

    I have a web site set up where I allow users to share(copy) information with each other. If one user has something stored that has an apostrophe, it messes up the copying process. How can this be fixed?
  14. G

    Why is my information being deleted in this form when I do not hit submit?

    When I allow a user to edit their information, when nothing is changed and another link is hit, the information that was there gets deleted. Why? Here's what it looks like. <?php $con = mysql_connect("myconnection","myusername","mypassword"); if (!$con) { die('Could not...
  15. G

    What is wrong with this MySQL/php code?

    $result = mysql_query("SELECT * FROM subjects WHERE userid = '$user'"); if (!$result) { echo "You have not added any subjects yet."; } There is nothing in the table subjects so it should give me the message. But it doesn't. It was working but seems to have stopped without my doing...
  16. G

    What is the best way to have a list from a MySQL database come up only 10 at a time?

    I need to have a user list something from a database that shows up 10 at a time and they can select to see the next 10 and so on. What is the best way to accomplish this? Would also like to have a drop down form for if they want more per page.
  17. G

    What is wrong with this php/MySQL code on my web site?

    When I query my database: $result= mysql_query("SELECT * FROM users WHERE userName = '$username'"); it is not responding correctly so I "echo"ed my $result and it gave me: Resource id #2 Why would it do this?
  18. G

    What is the best way to setup these tables in MySQL?

    I am creating a web site that will be used by a group of students. Hopefully, eventually, a very large number of students. Basically, they will be creating notes in this database. Each user will have his own set of subjects, topics, and notes. An amount of 10 to 100 notes in each topic and...
  19. G

    PHP : What happens when user forgets password on site.

    I'd like to know this also.
  20. G

    How do I keep a user logged in once they have logged in?

    I have a database set up using MySQL with a username and password, but once they enter their username and password and I verify it through the database, how are they still logged in going forward?
Top