Forum: JavaScript / DHTML / AJAX Sep 20th, 2008 |
| Replies: 2 Views: 879 Yes, I have received replies in that newsgroup, but no solution as yet. And no solutions here either. If I had a solution, it would have been noted and posted here. Thanks for your help. You can... |
Forum: JavaScript / DHTML / AJAX Sep 19th, 2008 |
| Replies: 2 Views: 879 I have code that successfully displays results, but throws an error in
Fx 3 and IE 6.
A sample of the XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<mycds>
<cd>
<title>Wolf... |
Forum: MySQL Jul 18th, 2008 |
| Replies: 3 Views: 685 How have you determined that the data is lost? Just by trying to connect through the MySQL server?
Look for the actual files that make up your database. Since we still don't know what OS you are... |
Forum: MySQL Jul 16th, 2008 |
| Replies: 3 Views: 685 Your data is probably fine, but it sounds like you may have to install the mysql server again. |
Forum: MySQL May 12th, 2008 |
| Replies: 1 Views: 553 How did you 'copy all the files over'?
What versions of MySQL are running on your original host, and on your new host?
There are a few things that can munge a migration, but knowing the answers... |
Forum: MySQL May 7th, 2008 |
| Replies: 10 Views: 2,684 Huh. Yes that is very strange. Glad you got it figured out though. And thanks for posting the solution in case someone else runs into this. |
Forum: MySQL May 7th, 2008 |
| Replies: 10 Views: 2,684 Can you execute
DELETE FROM images WHERE image_id = 803 AND plant_num = 2277 LIMIT 1;
from the command line?
Can you execute that literal string from your script?
Your script might not... |
Forum: MySQL May 7th, 2008 |
| Replies: 10 Views: 2,684 What does
SELECT * FROM images WHERE image_id = 803 AND plant_num = 2277\G
show you? If you can't find that image, then obviously you can't delete it. |
Forum: MySQL May 7th, 2008 |
| Replies: 10 Views: 2,684 What does your PHP query statement print out as? I'm betting it's not what you think it is.
Also, a describe images would help us help you. |
Forum: MySQL May 2nd, 2008 |
| Replies: 2 Views: 959 It is generally more practical to save the path to the images in the database, rather than the images. This applies to any binary file. Let the OS file system take care of the files.
If you save... |
Forum: Database Design May 1st, 2008 |
| Replies: 3 Views: 1,619 bcasp is pointing you in the right direction. As a further enlightenment, any time you ask yourself the question 'what if column X has more than Y choices' is an indication that that column should be... |
Forum: MySQL Apr 27th, 2008 |
| Replies: 5 Views: 715 Again, I have to ask: does your query work from the command line? If you are not sending the right query, then you won't get the right results.
I don't know what 'annons.område' is but you are... |
Forum: MySQL Apr 27th, 2008 |
| Replies: 5 Views: 715 I notice you have some non-standard characters in the query. You might be trying to match something from one character set to something in a different character set.
WHERE... |
Forum: Database Design Apr 23rd, 2008 |
| Replies: 4 Views: 1,273 This is good advice. Whenever you have a field / column with multiple values that's a clue to pull it out and put it in a separate table. |
Forum: Database Design Apr 23rd, 2008 |
| Replies: 1 Views: 725 I'm not sure what you mean by 'FE' or 'BE', but if you are planning on mounting this database on a web server I suggest you forget about using Access. Actually Access is not even the database, but... |
Forum: Database Design Apr 23rd, 2008 |
| Replies: 2 Views: 927 What have you got so far? |
Forum: MySQL Apr 21st, 2008 |
| Replies: 6 Views: 1,006 In order for your images to be available via a web link, they have to be in the 'public' tree of your web server. Think of where you put images to be displayed on a web site. The images you want to... |
Forum: MySQL Apr 21st, 2008 |
| Replies: 6 Views: 1,006 You are correct. In this case the message has to be sent as HTML.
Use Content-Type: multipart/mixed; |
Forum: MySQL Apr 21st, 2008 |
| Replies: 6 Views: 1,006 You can't 'display' an image in an email. You can however attach a file to an email and send that. However that is not a MySQL topic. You would be better in a forum for the language you are using to... |
Forum: MySQL Apr 20th, 2008 |
| Replies: 3 Views: 1,003 Can you not use the \G switch?
select * from customers \G
This displays the field names vertically instead of across the top. At least in 5.* it does.
Otherwise you will have to play... |
Forum: MySQL Apr 20th, 2008 |
| Replies: 4 Views: 1,133 Why not just access the database using the 'mysql' client side program?
mysql -hwww.yourwebsite.com -uyourusername -p
This will prompt you for the password. Once you are logged in you have... |
Forum: MySQL Apr 20th, 2008 |
| Replies: 2 Views: 3,139 Is this any help?
http://dev.mysql.com/tech-resources/articles/wizard/index.html
http://www.tek-tips.com/viewthread.cfm?qid=1289414&page=1 |
Forum: Perl Apr 20th, 2008 |
| Replies: 1 Views: 819 Where have you looked?
The Perl FAQ that comes with every Perl distribution contains
'How can I lock a file?' I suggest you start there. |
Forum: Perl Apr 9th, 2008 |
| Replies: 6 Views: 1,458 The use of 'strict' controls the scope of your variables. It forces you to practice good programming by not using global variables, and to declare all variables before use. There are some situations... |
Forum: Perl Apr 8th, 2008 |
| Replies: 6 Views: 1,458 Try to get in the habit of putting
use strict;
use warnings;
at the start of your scripts and it will save you a lot of frustration and time later on. Also, if you ever post to... |
Forum: MySQL Apr 8th, 2008 |
| Replies: 4 Views: 5,082 The typical solution to this is not to save the image in the database, but the path to the image (or any large binary file for that matter).
MySQL can handle binary data but it is hardly worth the... |
Forum: Database Design Apr 8th, 2008 |
| Replies: 5 Views: 1,302 47000 records is trivial - MySQL can handle billions of records, and many companies use it for large databases and heavy traffic.
I'm not sure what kinds of queries you will be making, but one... |
Forum: Database Design Apr 8th, 2008 |
| Replies: 5 Views: 1,302 First I suggest you sit down with a good book on relational database design ('Database Design For Mere Mortals' by Michael Hernandez and 'MySQL' by Paul DuBois come to mind). We can help you help... |
Forum: MySQL Apr 4th, 2008 |
| Replies: 1 Views: 706 Well, you sort of have the right idea with primary keys and foreign keys. But really what you need is to get a good handle on design. I'm not familiar with that book, but if you can get your hands on... |
Forum: MySQL Apr 4th, 2008 |
| Replies: 1 Views: 1,174 You might want to investigate indexing. |
Forum: Database Design Apr 4th, 2008 |
| Replies: 6 Views: 1,277 If that is your only reason, then again, the suggested solution of setting a 'Display' field to True or False should suffice for your needs. If not can you explain why not? It seems to be quite a... |
Forum: Database Design Apr 3rd, 2008 |
| Replies: 6 Views: 1,277 From your description, blater's solution will do what you want. If you want to 'delete' a record, why move it to another table - just delete it. However for some reason you want to retain the data,... |
Forum: MySQL Apr 3rd, 2008 |
| Replies: 8 Views: 917 There may be a problem with that field named 'DATE', as that is a reserved word. It will always have to be quoted in every query. Perhaps better to rename it 'OrderDate' or something that makes sense. |
Forum: Database Design Apr 2nd, 2008 |
| Replies: 1 Views: 1,207 Your design seems to be well on the way to what you want. In your 'Job Task Table output' you might want to replace the task ID with what the actual task is, unless you can remember what a task_id... |
Forum: MySQL Apr 2nd, 2008 |
| Replies: 8 Views: 917 What command did you try to execute? Copy and paste exactly what is on your command line, and the resulting screen. |
Forum: Database Design Mar 27th, 2008 |
| Replies: 4 Views: 1,737 You didn't mention this initially. I take it these are members of the same family, sharing a last name and address? In that case, then you could break out the address into a separate table. |
Forum: Database Design Mar 27th, 2008 |
| Replies: 4 Views: 1,737 You might be on the right track for 3NF but I suggest you take a closer look at your overall design.
You have a client table, but it is mostly populated with IDs for other client-related data.... |
Forum: MySQL Mar 27th, 2008 |
| Replies: 3 Views: 746 Then you should be looking in the documentation for that editor, or posting your query in a forum for the same. There is no MySQL question here that I can see. |
Forum: MySQL Mar 24th, 2008 |
| Replies: 3 Views: 845 If you are paying for your disk space then you shouldn't have a problem. However, my understanding (from others) is that any freebie host has to get revenue from somewhere, so they place ads on their... |
Forum: MySQL Mar 24th, 2008 |
| Replies: 3 Views: 845 Unless your company plans on saving the order data for future use, a database is not necessary for this. Which is not to say you shouldn't log attempts to log in with date/time stamp, IP address,... |