Forum: MySQL 4 Days Ago |
| Replies: 1 Views: 160 Go to Google, type in "mysql manual" and click on the first result. |
Forum: MySQL Sep 20th, 2008 |
| Replies: 3 Views: 1,246 So you're saying the field 'stl' can be like 1 or 2 or 3 or 4 instead of where is was only like 1 before? Couldn't you group several like statements with OR?
((stl like '$st1') OR (stl like... |
Forum: MySQL Apr 18th, 2007 |
| Replies: 6 Views: 6,844 similar and the same are two different things. If you know for sure they will be the same then you can link the two tables together.
Give this a try. It will, however assume that the same product... |
Forum: MySQL Dec 8th, 2005 |
| Replies: 2 Views: 2,217 I used the following book, it covers just everything you need to get started:... |
Forum: MySQL Dec 7th, 2005 |
| Replies: 3 Views: 2,047 First thing is to determine a common technology that your pc, pda, and phone all share. If they all can display webpages then you have several options. If not, possibly java as its on most cell... |
Forum: MySQL Dec 7th, 2005 |
| Replies: 1 Views: 6,894 This is more of a PHP question, or whichever language the website is being written in. I'll use PHP.
Assuming you already know how to do your database search and get results displayed, it's... |
Forum: MySQL Nov 29th, 2005 |
| Replies: 1 Views: 1,653 I'd use Apache, it's easier to work with than IIS in my opinion. |
Forum: MySQL Nov 29th, 2005 |
| Replies: 1 Views: 4,502 You should be able to export your current database on your local machine as a CVS file, then import that into the other database on the server. I'm sure there's free software out there to handle this. |
Forum: MySQL Nov 29th, 2005 |
| Replies: 2 Views: 3,250 I think this will work. I'm not positive if TOP is in MySQL.
SELECT TOP 5 *
FROM table
ORDER BY id DESC
(assuming 'id' is the primary key in the table) |
Forum: MySQL Jun 23rd, 2005 |
| Replies: 9 Views: 83,936 It might return an error if the result of the SELECT contained no rows, but I could be wrong. The code looks ok, I'm not sure what the problem could be. |
Forum: MySQL Jun 23rd, 2005 |
| Replies: 2 Views: 2,831 I understand what you said, its how I ended up doing it anyway. I'm just used to thinking more along the lines of OOP (classes). Stupid Java! |
Forum: MySQL Jun 21st, 2005 |
| Replies: 2 Views: 2,831 Is there a way I could create a variable that belongs to a table much like a static variable belongs to a class? So it "thing=1, person=2" were variables belonging to the table structure (not each... |
Forum: MySQL May 11th, 2005 |
| Replies: 3 Views: 3,818 wouldn't this question be better asked in the phpbb forums on their website? |
Forum: MySQL May 11th, 2005 |
| Replies: 1 Views: 18,293 select votes, rating, votes/sum(votes) as percentage
if that doesn't work, then you may need to do a nested select statement, where the inner one gets the sum() first.
and whats client code? |
Forum: MySQL Apr 17th, 2005 |
| Replies: 3 Views: 3,617 Visit http://dbspot.com and email the guy that owns it. (Jimmy) The server is mainly for a few of us using DBP, but if you explain to him that you need a server with mysql support temporarily for a... |
Forum: MySQL Apr 17th, 2005 |
| Replies: 4 Views: 3,871 well if it works on localhost, then the code is fine. There's probably a problem with the server you're trying to connect to. What error do you get? |
Forum: MySQL Mar 29th, 2005 |
| Replies: 1 Views: 8,235 I believe there's a php command to get a user's IP address. Store that in a variable and compare it to all the values in the database where you have blocked IP's stored.
Something like this in... |
Forum: MySQL Mar 27th, 2005 |
| Replies: 8 Views: 9,589 Still cheaper than Oracle's. |
Forum: MySQL Mar 27th, 2005 |
| Replies: 1 Views: 3,051 can you have an IF statement in a SELECT? |