www.webdeveloper.com

Search:

Type: Posts; User: eval(BadCode)

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    713

    Your query... SELECT dudes.dude_id, ...

    Your query...


    SELECT
    dudes.dude_id,
    dudes.dude_name,
    dudes_cars.car_name
    FROM dudes
    LEFT JOIN dudes_cars
    ON (dudes_cars.owner_dude_id = dudes.dude_id AND...
  2. try converting balance to a float or double...

    try converting balance to a float or double first.... perhaps you're coercing 1.0003 to become an integer somehow (in which case it will probably just be 1 and do nothing).
  3. There are some tools OTS (off the shelf...

    There are some tools OTS (off the shelf proprietary) that slaughter the database schema (it's a disgusting design), but it works like a freaking charm when it comes down to not even touching SQL... I...
  4. Replies
    1
    Views
    677

    I think you should jump onboard and see how deep...

    I think you should jump onboard and see how deep the rabbit hole goes :D
    but that may just be my courageous youth talking


    also, if you're using some type of version control.... he should have...
  5. Replies
    1
    Views
    745

    If you're wanting to do dynamically named columns...

    If you're wanting to do dynamically named columns (which is OK, and I typically do this when someone wants a "report" they could use in excel or whatever), you'll need to use at least two queries if...
  6. From dev.mysql.com: example: mysql>...

    From dev.mysql.com:


    example:


    mysql> CREATE TABLE t1 (
    -> a INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
    -> message CHAR(20)) ENGINE=MyISAM;
    mysql> CREATE TABLE t2 (
  7. prepend your script with:

    prepend your script with:



    <?php
    ini_set("display_errors", 1);
    error_reporting(E_ALL);
  8. Replies
    1
    Views
    330

    none that I can see.

    none that I can see.
  9. http://php.net/manual/en/language.references.retur...

    http://php.net/manual/en/language.references.return.php

    it's returning a reference to a static value. Keep in mind PHP uses a reference counting system for garbage collection. I don't see any...
  10. That is very odd. It is typically called the...

    That is very odd. It is typically called the referencing operator, (a reference to a value in memory as opposed to a value itself).

    I'm not sure what it means in this situation... What PHP...
  11. Replies
    3
    Views
    324

    Access denied for user...

    Access denied for user 'myrealusername'@'localhost' (using password: YES)

    try chaning localhost to 127.0.0.1

    They may appear to be the same in any other situation, but for MySQL they are very...
  12. Replies
    2
    Views
    342

    You shouldn't use an API when you already have...

    You shouldn't use an API when you already have existing data on your machine to do this.
    /usr/share/GeoIP/GeoIP.dat

    you can use apache2's mod_geoip (apt-get install apache2-mod-geoip or yum...
  13. Replies
    2
    Views
    295

    you could serialize the data and write it to a...

    you could serialize the data and write it to a seperate file instead of trying to write it in a configuration file format. It seems like the sensible tool to use in this situation.
  14. wat... ok you get putty, log in with your...

    wat...

    ok you get putty, log in with your "SFTP" credential (SFTP meaning... ftp over ssh). So ssh will spawn a shell (probably bash or sh), and you can use "cp" the copy command,
    cp <src> <dst>...
  15. You can use the "cp" command from ssh+[ba]sh....

    You can use the "cp" command from ssh+[ba]sh. That would make the most sense and would be exceptionally faster than using FTP to copy files.
  16. Replies
    5
    Views
    332

    In most SQL flavors, you can not expect an...

    In most SQL flavors, you can not expect an aliased column to behave like a real column. This would drastically change the execution plan of MySQL in an undesirable way. The work-around is to replace...
  17. Replies
    1
    Views
    245

    SELECT ver_data_media.id, ...

    SELECT
    ver_data_media.id,
    ver_data_media.value,
    ver_data_media.ref,
    ver_data_media.type,
    ver_data_rating.a

    FROM ver_data_media LEFT JOIN ver_data_rating
    ON...
  18. Try this script I made for you, it looks a bit...

    Try this script I made for you, it looks a bit more robust to me.

    If you want to skip the first record, just use fgetcsv() on the csv and don't store the row of values anywhere (just toss it out)....
  19. A) it looks like you're trying to find more...

    A) it looks like you're trying to find more developing to do. I don't see any problem with this unless you're constantly editing these outgoing emails every day, even so... I don't see why an editor...
  20. Try some alternatives to DreamWeaver......

    Try some alternatives to DreamWeaver... firefox+firebug, eclipse, vim, emacs... DreamWeaver is just marketed really really hard, because Adobe makes a lot of money off of it. I think there are many...
  21. I'm a huge fan of SQL-SERVER, it's the only M$...

    I'm a huge fan of SQL-SERVER, it's the only M$ software I really think they did amazingly well. When I was working with SQL-SERVER 05 and 08: I used AquaData Studio. It's not the best, but their...
  22. This is an awful problem to solve using PHP. Why...

    This is an awful problem to solve using PHP. Why don't you just put your NIC in promiscuous mode and log all of the incoming traffix on X port / forwarded traffic?

    Too complicated? Use...
  23. Replies
    9
    Views
    609

    You would want to make a table of possible things...

    You would want to make a table of possible things that can be checked off.

    This is very basic sql, you need to read more about sql and relational databases. It is very important. Hint:...
  24. gross, what is all that obscure undocumented...

    gross, what is all that obscure undocumented functionality you're using.

    There are some fancier mathematical ways to do it (naming each field after a unique prime number and checking that the...
  25. I personally use eclipse and the JavaDoc strings...

    I personally use eclipse and the JavaDoc strings above all of the signatures/variables/classes. Then click generate documentation, if you didn't already tell eclipse where to put it, it will ask and...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles