www.webdeveloper.com

Search:

Type: Posts; User: artemis

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    2,668

    It's most likely because your browser is...

    It's most likely because your browser is requesting the favicon.ico file so it can display it in the title bar.. if you check the server request logs you'll probably see the request for it
  2. Replies
    2
    Views
    1,998

    Check this out...

    Check this out http://php.net/manual/en/function.mysql-insert-id.php
  3. Nope they're not using the graph, fbml instead,...

    Nope they're not using the graph, fbml instead, see:
    http://wiki.developers.facebook.com/index.php/Fb:fan
  4. The line number is a big clue ;) ...

    The line number is a big clue ;)


    $current_uni->address->city->addAttribute('id', ($_POST["cityid"]);

    Forgot a closing bracket on that line
  5. You mean caching the css/js/image files on your...

    You mean caching the css/js/image files on your server? What are the storage requirements? I'm assuming you'd want to delete the files after a certain amount of time?

    You would need to still...
  6. Did you think about adding some kind of a...

    Did you think about adding some kind of a key/hash to the URL that is session dependant?
  7. Thread: CSS and PHP

    by artemis
    Replies
    11
    Views
    1,530

    img.pwthumbs { margin-left:20px;...

    img.pwthumbs {
    margin-left:20px;
    margin-right:20px;
    margin-top:20px;
    padding:8px;
    border:1px solid;
    border-color: #dddddd #aaaaaa #aaaaaa #dddddd;
    border-width: 1px 2px 2px 1px;
    }
  8. What error does it give?

    What error does it give?
  9. Replies
    5
    Views
    1,136

    Fair enough, I've never come across any code that...

    Fair enough, I've never come across any code that can do what I want - whether that's because it can't be done or it's too much effort idk, thank for your input anyway.
  10. Replies
    5
    Views
    1,136

    Hi Mindzai, thanks for your help.. Say a...

    Hi Mindzai, thanks for your help..

    Say a product has two categories, that query returns two rows, they both have the same product data and the two different category id's...

    Is there any way to...
  11. Replies
    5
    Views
    1,136

    MySQL Joining Multiple Fields and Tables

    Hi,

    Okay I have 3 tables: products, categories and product_categories..



    CREATE TABLE products(
    id int(10) unsigned primary key not null auto_increment,
    ...
    );
  12. Thread: regex replace

    by artemis
    Replies
    6
    Views
    677

    If you want it as a variable: ...

    If you want it as a variable:



    $str="rfc_year='2009'";
    $new_str=preg_replace("/(.*?)='(\d{4})'/","$1 LIKE '$2%'",$str);
  13. Thread: regex replace

    by artemis
    Replies
    6
    Views
    677

    preg_replace("/(.*?)='(\d{4})'/","$1 LIKE...

    preg_replace("/(.*?)='(\d{4})'/","$1 LIKE '$2%'","rfc_year='2009'");
  14. It should be: countlet[ii] () is trying...

    It should be:


    countlet[ii]

    () is trying to call a function called countlet
  15. Replies
    3
    Views
    1,116

    This is untested but maybe try giving each list...

    This is untested but maybe try giving each list separate classnames, e.g. facebox1, facebox2 and then:

    $('a[rel*=facebox1]').facebox();
    $('a[rel*=facebox2]').facebox();
  16. Replies
    5
    Views
    4,234

    Make the strings into arrays of characters and...

    Make the strings into arrays of characters and then use http://uk2.php.net/array_intersect
  17. Please show all of the code

    Please show all of the code
  18. Just paste the code below what ever form handling...

    Just paste the code below what ever form handling you're doing.
    Would be useful to see the rest of the code as well...
  19. Replies
    2
    Views
    859

    http://www.google.com/analytics/

    http://www.google.com/analytics/
  20. Replies
    4
    Views
    1,095

    http://uk3.php.net/preg_match_all See example 2,...

    http://uk3.php.net/preg_match_all
    See example 2, you need to iterate over the matches to grab them all
  21. Replies
    2
    Views
    664

    http://uk.php.net/simplexml

    http://uk.php.net/simplexml
  22. Replies
    8
    Views
    927

    Need to be RGB components:...

    Need to be RGB components:
    http://uk.php.net/imagecolorallocate
  23. Replies
    3
    Views
    1,642

    Have you actually even read that code?

    Have you actually even read that code?
  24. Replies
    1
    Views
    864

    MySQL Query Speed

    In general, is it quicker to a DELETE then INSERT or a REPLACE INTO.
    In my script I am running one small REPLACE query and it is taking about 100 times as long as a complex SELECT query.

    Is this...
  25. Replies
    1
    Views
    1,120

    Variable RewriteBase?

    Is it possible to have a variable RewriteBase in the same .htaccess file?
    Thanks!
Results 1 to 25 of 246
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles