php and postgresql

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David

    php and postgresql

    Can anyone tell me why when i select the object identifiers in my postgresql
    table and try to print them out using php it only gives me the first digit?
    Any ideas on how to get round this?

    Thank you David


  • Pedro Graca

    #2
    Re: php and postgresql

    David wrote:[color=blue]
    > Can anyone tell me why when i select the object identifiers in my postgresql
    > table and try to print them out using php it only gives me the first digit?
    > Any ideas on how to get round this?[/color]

    Are you printing all of it?

    <?php
    $string = 'one two three';
    print $string[0];
    ?>

    will output "o"
    --
    --= my mail box only accepts =--
    --= Content-Type: text/plain =--
    --= Size below 10001 bytes =--

    Comment

    Working...