Search:

Type: Posts; User: NXArmada; Keyword(s):

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    8,894

    Your problem is this line: $q = "SELECT...

    Your problem is this line:

    $q = "SELECT 'professional','private', 'contact' FROM users WHERE 'sub_domain' = '$prac_dir';

    you can not use quotes to define each field name. It needs to be this:...
  2. Replies
    3
    Views
    4,302

    Check this out from the MySQL site...

    Check this out from the MySQL site http://dev.mysql.com/doc/refman/5.1/en/alter-table.html
  3. Thread: Weird Results

    by NXArmada
    Replies
    1
    Views
    3,222

    Resolved Heres the solution REPLACE(`sales`,",","") ....

    Heres the solution REPLACE(`sales`,",","") . Turns out the Commas in the number where causing the problem so I used REPLACE to remove the comma then SUM the un-comma number...
  4. Thread: Weird Results

    by NXArmada
    Replies
    1
    Views
    3,222

    Resolved Weird Results

    Dang have not been here in a year and the MySQL section is dead. Not one new post lets change that today.

    Okay I am trying to get a sum of numbers in one column but instead I am getting this.
    ...
  5. Replies
    2
    Views
    1,753

    http://www.php-mysql-tutorial.com/

    http://www.php-mysql-tutorial.com/
  6. Check this website out:...

    Check this website out: http://www.php-mysql-tutorial.com/

    This will assume your using or going to be using PHP+MySQL.
  7. Replies
    4
    Views
    2,167

    Quick search on google:...

    Quick search on google: http://httpd.apache.org/docs/2.0/howto/htaccess.html
  8. Replies
    1
    Views
    1,501

    check out Textpattern...

    check out Textpattern U can use raw PHP with it and all through the admin interface.

    I run 3 sites with Textpattern. One is a Blog, Another is an Ecommerce site, and the last one is a newspaper...
  9. Replies
    2
    Views
    1,268

    Your not telling it to do anything. Look here...

    Your not telling it to do anything.

    Look here on how to email with PHP http://us.php.net/mail
  10. Replies
    11
    Views
    2,946

    what is $pfile mapping too??

    what is
    $pfile mapping too??
  11. Replies
    11
    Views
    2,946

    i had a sim problem and this worked for me: ...

    i had a sim problem and this worked for me:



    fopen($myFile, 'a+r+w+x+')
  12. Replies
    12
    Views
    6,407

    can you give us a link to the page where you have...

    can you give us a link to the page where you have ur code so we can see it.
  13. Replies
    1
    Views
    2,684

    Resolved try this: ALTER TABLE `product_table` ADD...

    try this:



    ALTER TABLE `product_table` ADD `status` ENUM( 'Y', 'N' ) AFTER `warranty`;
  14. Replies
    11
    Views
    2,946

    Is the file chmod writeable 777

    Is the file chmod writeable 777
  15. Replies
    3
    Views
    1,582

    Here is a simple script you can use. Provided...

    Here is a simple script you can use. Provided for learning purposes. Place each <a> links on there own lines in the text file. I am sure there's better ways of doing.



    <?php
    $adfile =...
  16. Replies
    19
    Views
    14,108

    Adobe Fireworks

    Adobe Fireworks
  17. Thread: haskell help

    by NXArmada
    Replies
    14
    Views
    23,149

    http://www.haskell.org/

    http://www.haskell.org/
  18. try this

    try this



    <?php
    echo "<tr>";
    $qry="select * from special_offers order by offer_id";
    $result = mysql_query($qry);
    if(mysql_num_rows($result)>0)
    {
  19. Replies
    3
    Views
    6,329

    can you post your php code?

    can you post your php code?
  20. Replies
    8
    Views
    3,103

    First I suggest you check out the PHP website...

    First I suggest you check out the PHP website http://www.php.net

    second look here: http://www.onlamp.com/pub/a/php/2001/07/26/encrypt.html
  21. Replies
    12
    Views
    4,436

    Okay i got my last question answered my self. so...

    Okay i got my last question answered my self. so here is what my final code looks like. Provided for learning purpose.



    <?php

    $int_y_pos = 3600;
    $int_y_step_small = 100;

    $str_value =...
  22. Replies
    12
    Views
    4,436

    Okay Daniel the code you provided: $str =...

    Okay Daniel the code you provided:



    $str = explode('|',$str);
    for ($i=0;$i<count($str);$i++) {
    echo $str[$i]."\n";
    }
  23. Replies
    12
    Views
    4,436

    if i do .= i get this Warning: implode()...

    if i do .= i get this

    Warning: implode() [function.implode]: Bad arguments.
  24. Replies
    12
    Views
    4,436

    yeah that what i did when you first suggest +=...

    yeah that what i did when you first suggest += and the error is still the same
    Fatal error: Unsupported operand types
  25. Replies
    12
    Views
    4,436

    Daniel I did what you suggested and no change.

    Daniel I did what you suggested and no change.
Results 1 to 25 of 192
Page 1 of 8 1 2 3 4