dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: smickus

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    948

    The same way you would a html file... ...

    The same way you would a html file...




    echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"pretty.css\" />";
  2. Replies
    1
    Views
    798

    Class includes...

    Hi,
    Is it possible to include files of functions into a class?

    so like you have ...





    class whatever {
  3. Replies
    3
    Views
    774

    Maybe the content-type has to be set before the...

    Maybe the content-type has to be set before the From? Or what blue-eye-labs said...
  4. Replies
    1
    Views
    920

    use a query to select the people from that DB......

    use a query to select the people from that DB...

    so

    $query = "SELECT * FROM Users";

    and then have the URL as like: card.php?id=1

    and then add this to get the ID from the "?id=" in the...
  5. Replies
    2
    Views
    844

    Have you tried echo'ing the query?

    Have you tried echo'ing the query?
  6. why are you deleting and then adding straight...

    why are you deleting and then adding straight away after? Have you cleared your cache?
  7. Replies
    5
    Views
    2,090

    Just wondered... Why did you start $months[] at 1...

    Just wondered... Why did you start $months[] at 1 instead of 0?
  8. Replies
    7
    Views
    1,263

    I just checked on my phone and it is working fine?

    I just checked on my phone and it is working fine?
  9. Replies
    4
    Views
    1,151

    That isn't helpful at all :/

    That isn't helpful at all :/
  10. Yes I'm saying some of your code is wrong in...

    Yes I'm saying some of your code is wrong in reference to:

    .(int) $user)->fetchAll();
    I totally don't get what that is...

    You're also assuming he is using PHP 5.1 and the PDO.
  11. yeah what he said - but some of his code is...

    yeah what he said - but some of his code is wrong... so umm, just create a table which inserts the foreign key of the thread id, and the user id, and a 0 or 1 if it is read. then make a function to...
  12. You can do both yeah... The way I do it, is in...

    You can do both yeah...

    The way I do it, is in my .htaccess file I have <FILES filename> forcetype application/x-httpd-php </FILES> - then I get the directory/base name with PHP, it's probably a...
  13. Replies
    9
    Views
    1,534

    Okay, I am, thank you for the information though.

    Okay, I am, thank you for the information though.
  14. Replies
    9
    Views
    1,534

    Good advice! Though there's no point in accepting...

    Good advice! Though there's no point in accepting larger than my post_max_size really!
  15. Replies
    16
    Views
    67,776

    Do you have the GD Images library installed? Or...

    Do you have the GD Images library installed? Or do you just want to use a new height/width to make the image look smaller?
  16. Replies
    9
    Views
    1,534

    post_max_size is set to 8MB. upload_max_filesize...

    post_max_size is set to 8MB.
    upload_max_filesize is set to 6MB.

    Changed to MediumBlob...

    Success.

    Thank you xx
  17. Replies
    16
    Views
    67,776

    and you can have an if inside the foreach...

    and you can have an if inside the foreach statement...


    $ignore = Array(".", "..", "otherfiletoignore");
    foreach($images as $curimg){
    if(!in_array($curimg, $ignore)) {
    echo "<img...
  18. Replies
    9
    Views
    1,534

    no, it's still 64kb when it is uploaded..

    no, it's still 64kb when it is uploaded..
  19. Replies
    9
    Views
    1,534

    storing images in mySQL database...

    Okay, so I wrote a function which is handled on an "upload" form. everything processes fine.



    function doUpload() {
    rsort($_FILES);
    array_pop($_FILES);
    $y = count($_FILES);
    $x =...
  20. Yeah .net is costly but it will get you a long...

    Yeah .net is costly but it will get you a long way what with Microsoft ruling the world!

    Python and Perl are always great... Perl is very nice.
  21. Thread: Odd SQL error

    by smickus
    Replies
    3
    Views
    802

    have you connected first? do $res =...

    have you connected first?

    do $res = mysql_query($sql) or die(mysql_error());
  22. yeah explode is very handy! good luck with it...

    yeah explode is very handy! good luck with it...
  23. Replies
    1
    Views
    614

    Poll: I'm saying yes, however this is only a guess! I...

    I'm saying yes, however this is only a guess! I imagine as the file size will be increased ( be it only by about 10 bytes for the "echo " " ;" stuff... However I really have no idea :)
  24. oh okay I see what you mean.... your data is...

    oh okay I see what you mean.... your data is stored as "a,b,c,d" in the database field.

    you can just use explode I think?



    $dataField = "a,b,c,d";
    $array = explode(",", $dataField);
  25. Replies
    5
    Views
    8,733

    no, it is javascript. PHP cannot open new...

    no, it is javascript. PHP cannot open new windows. this shouldnt be in the php forum?


    edit:


    <a href="#"...
Results 1 to 25 of 37
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles