- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Hiking, reading
- PC Specs
- Intel Core Duo, Windows XP
I have run into an interesting problem. I have inherited a database for daemon process that polls and accepts reports from remote embedded systems. Each site that has one of these systems can monitor over a dozen different fuel tanks. (In practice, most monitor 2, 3 or 4 tanks.) When … | |
Re: I think PHP is a good intro to server-side programming. (Javascript is useful, but since it's client-side only, it can't handle things like form submission or interacting with a database.) I started learning PHP on my own about the same time I had to learn some ASP/ASP.NET for my job, … | |
Re: I think you can easily use just one table to store the images, or better yet, filepaths to images that you save in an directory on your filesystem. Then, just have a foreign key in your images table that references your user accounts table. When a user wants to see … | |
Re: I think that if you are using a WHERE clause to find an existing row in a table to change a value, you should be using UPDATE instead of INSERT INTO. (You also have to use the syntax "SET [I]column[/I]=[I]value[/I]" Something like: [code=php] $loginid = mysql_query("UPDATE userinformation SET login_id='".$randomkey."' WHERE … | |
I am updating a conference website, and I've come across a design problem that has me stumped. I have tables for: -a company's account -person (each company can have many persons in its account) -conference sections (for example, 1-day, 2-day, or 3-day attendance) -a lookup table relating people to sections … | |
Re: You should try to make 3 tables: one for the chapters, one for the sections, and one for the questions. Then, you can use the primary key of the Chapters table as a foreign key for the Sections table, and use the primary key of the Sections table as a … | |
Re: I've found that learning about Javascript is best done by task. For instance, make a "Contact" form, and add Javascript to verify that fields are filled out, email and phone numbers are valid. This will be re-inventing the wheel, but there are many online resources to "check your answer", so … | |
Re: ShawnCPlus is right about the missing elements in the snippet. You will need to include the jQuery library in your page. See this article for different ways to do that: [url]http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=609[/url] To learn more about jQuery itself, the best place to start is the project site: jquery.com |