A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: PHP syntax help

  1. #1
    Nyuk! Nyuk! Nyuk! Hey Moe... serpent star's Avatar
    Join Date
    Apr 2002
    Posts
    998

    PHP syntax help

    PHP Code:
    mysql_query$query $dbcnx )

      or die ( 
    "Couldn't add data to  "ms_person_details_table  " table: "

      
    .mysql_error() );

      
    myssql_close$dbcnx ); 
    Can someone please point out the syntax error in the previous block of code. I keep getting unexpected T_string or something to that effect.

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Location
    Top Shelf
    Posts
    757
    PHP Code:
    mysql_query($Q $dbcnx )
           
          or die (
    "Couldn't add data to  $ms_person_details_table table: "mysql_error() );
          
    myssql_close($dbcnx); 
    checked with php.exe syntax check (command line)
    This information is subject to change without notice and
    is provided "as is" with no warranty.

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center