www.webdeveloper.com

Search:

Type: Posts; User: irf2k

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,072

    mySQL indexes

    I'm using mysql 5.0 with PHP 5.x and my problem is:
    I don't fully understand how they treat indexes.

    I am familiar with PROGRESS databases, as that is what I work with, and having read through...
  2. Thread: Help Needed

    by irf2k
    Replies
    7
    Views
    1,953

    Sorry, I only browse through here when I'm at...

    Sorry, I only browse through here when I'm at work.

    So, I guess I wasn't too clear. You need to understand a bit about javascript and html. Each "element" (like the <a> tag) can have an ID (so it...
  3. Replies
    11
    Views
    2,529

    Oh, sorry, if you're just storing the UNIX...

    Oh, sorry, if you're just storing the UNIX timestamps as INT in the db (as in the field data type is INT or BIGINT or whatever) then the first function will work fine

    The second one was just in...
  4. Replies
    11
    Views
    2,529

    ABS(TIMESTAMPDIFF(MINUTE,t1.timeStamp,t2.timeStamp...

    ABS(TIMESTAMPDIFF(MINUTE,t1.timeStamp,t2.timeStamp) <= 300 should work
  5. Replies
    11
    Views
    2,529

    whoops...my bad...that won't work if the field is...

    whoops...my bad...that won't work if the field is ACTUALLY a timestamp
  6. Replies
    11
    Views
    2,529

    Should be possible using the following script:...

    Should be possible using the following script:
    SELECT t1.timeStamp, t2.timeStamp
    FROM test AS t1, test AS t2
    WHERE ABS( t1.timeStamp - t2.timeStamp ) <=300
    AND t1.primKey != t2.primKey
    ORDER BY...
  7. Thread: Help Needed

    by irf2k
    Replies
    7
    Views
    1,953

    It isn't too difficult, just a modification to...

    It isn't too difficult, just a modification to the current rotate function.

    First, you need to give an id to your links, and remove the javascript:

    <a id="Link1" href="put_some_url_here">
    ...
  8. Replies
    11
    Views
    2,529

    AFAIK, to compare fields returned by SQL you...

    AFAIK, to compare fields returned by SQL you would need some sort of scripting language. How are you accessing your database?
    Even if it is possible, then for what purpose?
    If you don't have a...
  9. I'm not sure I understand your question. Is the...

    I'm not sure I understand your question. Is the content.php normally a static page in one language?
    For example, do you have a set page in nl, and if you need to convert it to english you instead...
  10. Replies
    9
    Views
    5,772

    You're probably not going to find someone to...

    You're probably not going to find someone to write the code for you (at least not here).

    This is more for people who are trying to do something themselves and run into specific problems, or...
  11. Replies
    2
    Views
    1,523

    I've posted the code below, but if you are...

    I've posted the code below, but if you are planning on making this site available to the public, you might want to check out jquery and form validation (you can easily make sure they actually enter a...
  12. Replies
    7
    Views
    2,825

    Hi, So, it looks like you need help creating...

    Hi,

    So, it looks like you need help creating the ProcessConsoleAudit.php file.

    The first problem is, you're giving every checkbox the same name "uids".
    You should change this to uids[] (this...
  13. Thread: Help Needed

    by irf2k
    Replies
    7
    Views
    1,953

    I'm a little confused as to what you're trying to...

    I'm a little confused as to what you're trying to do.

    First of all, your code is missing <script> and </script> tags around your function (I'm assuming you edited it before posting and forgot...
  14. Replies
    6
    Views
    3,482

    yeah, you're right, coding it in HTML would be a...

    yeah, you're right, coding it in HTML would be a nightmare (I just realized that the irregular borders would make it really difficult/impossible)

    But to create a similar map in flash should be a...
  15. Well done, I'm guessing you figured out how to...

    Well done,

    I'm guessing you figured out how to convert the date to YYYY-MM-DD? (It's better in that format anyway, since mysql uses it and its easy to break down).

    Just one thing. For mktime,...
  16. hmmm....your server side guy needs to store it in...

    hmmm....your server side guy needs to store it in the cookie instead (that makes more sense)
    OR, they could store it in a session
    perhaps the server side guy doesn't know enough about server-side...
  17. Thread: Fireworks HTML

    by irf2k
    Replies
    2
    Views
    1,918

    Because of the way you have it coded (one large...

    Because of the way you have it coded (one large image map), that would be difficult. It is possible to create HTML elements that get larger and smaller as the browser changes size (by using &#37;'s for...
  18. logically, that makes sense, BUT your major...

    logically, that makes sense, BUT your major problem will be the SERVER side of things.

    What server-side language are you using to validate/create a user?

    Either way, it makes more sense to set...
  19. Well, if you want to figure it out yourself...

    Well, if you want to figure it out yourself (which is best), here's some hints:
    1. Since you're script is using some weird number as a date, you always need a reference point (for my script I chose...
  20. Replies
    2
    Views
    1,334

    The first thing would be to find out what you...

    The first thing would be to find out what you have access to. There are a variety of database options out there, but your best bet would be mySQL. You would also need a server-side scripting language...
  21. Replies
    1
    Views
    1,909

    That is a really complex question, and involves a...

    That is a really complex question, and involves a lot more than just SQL. The answer would be more of a tutorial than anything else.

    Do you already have a site that allows users to log in?
  22. Replies
    6
    Views
    3,482

    If all you want to use it for is that one...

    If all you want to use it for is that one clickable map, I would definitely recommend having a freelancer build it for you. A clickable map like that should cost under $100, and there should be NO...
  23. the form tag has a "method" attribute, which can...

    the form tag has a "method" attribute, which can be either POST or GET. GET puts them in the url of the "action" attribute.
    Confusing, so here is an example

    <form action="page2.html"...
  24. that is quite odd...what type of database is it?...

    that is quite odd...what type of database is it? most databases can store a "date", so it seems weird..
    Any idea what the day 1 was? because 2000 years gives me only ~730000 (less than half that...
  25. Replies
    5
    Views
    4,722

    @WolfShade I don't use AJAX much, so I totally...

    @WolfShade
    I don't use AJAX much, so I totally forgot about that...but from my understanding, AJAX would still need some sort of server side script on the other end to process the file, no?
    ...
Results 1 to 25 of 128
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles