• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

php connection

 
Ranch Hand
Posts: 93
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello
i have been writing this piece of code that tahkes values from a javascript file and do som orepation in php
but i am getting an error
:
Parse error: syntax error, unexpected '$Rname' (T_VARIABLE) in C:\xampp\htdocs\vehicle\reviews.php on line 18

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This code to use query to try this and check and replay

$sql = "SELECT * FROM final_review1 WHERE vehicle='".$Rname."' AND year='".$Rdate."'";
$sql1 = "SELECT * FROM final_review2 WHERE vehicle='".$Rname."' AND year='".$Rdate."'";
reply
    Bookmark Topic Watch Topic
  • New Topic