can anyone help with this coding? please??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mikeinspain
    New Member
    • Jan 2007
    • 21

    can anyone help with this coding? please??

    I am getting a Fatal Error message as shown below;
    Fatal error: Call to undefined function: phprequire() in /home/9144/domains/cbweb.co.uk/html/propertyEnquiry .php on line 1

    The code behind this is below.. Having spent a while trying to understand it all, I'm at a loss. This is the top part to it. If you need or would like all of the code then please email me..

    [PHP]<?phprequire('_ class_functions/rental_sales_sh im.php');requir e_once('_class_ functions/enquiryList.php '); require_once('v ars.php');// make sure visitor has selected a property to enquire about if(!empty($_SES SION[$shim.'enq_list '])) { require_once('_ class_functions/mailFnc.php'); }?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d"><html xmlns="http://www.w3.org/1999/xhtml"><head><t itle>Property Enquiry</title><link href="webkit.cs s" rel="stylesheet " type="text/css" /><script language="JavaS cript" type="text/JavaScript">[/PHP]

    If you haven't guessed I am new to the coding game.. Even if someone can point me in the right direction within the script so that I cold try and recitfy myself then I would be grateful..

    Hope someone can help???

    Thanks

    Mike
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Originally posted by mikeinspain
    I am getting a Fatal Error message as shown below;
    Fatal error: Call to undefined function: phprequire() in /home/9144/domains/cbweb.co.uk/html/propertyEnquiry .php on line 1

    The code behind this is below.. Having spent a while trying to understand it all, I'm at a loss. This is the top part to it. If you need or would like all of the code then please email me..

    [PHP]<?phprequire('_ class_functions/rental_sales_sh im.php');requir e_once('_class_ functions/enquiryList.php '); require_once('v ars.php');// make sure visitor has selected a property to enquire about
    if(!empty($_SES SION[$shim.'enq_list '])) { require_once('_ class_functions/mailFnc.php'); }?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d"><html xmlns="http://www.w3.org/1999/xhtml"><head><t itle>Property Enquiry</title><link href="webkit.cs s" rel="stylesheet " type="text/css" /><script language="JavaS cript" type="text/JavaScript">[/PHP]

    If you haven't guessed I am new to the coding game.. Even if someone can point me in the right direction within the script so that I cold try and recitfy myself then I would be grateful..

    Hope someone can help???

    Thanks

    Mike
    That's easy!
    Add a space between php and require:

    [PHP]
    <?php
    require('_class _functions/rental_sales_sh im.php');
    require_once('_ class_functions/enquiryList.php ');
    require_once('v ars.php');// make sure visitor has selected a property to enquire about if(!empty($_SES SION[$shim.'enq_list '])) {
    require_once('_ class_functions/mailFnc.php');
    }?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title>Pr operty Enquiry</title>
    <link href="webkit.cs s" rel="stylesheet " type="text/css" /><script language="JavaS cript" type="text/JavaScript">
    [/PHP]

    Comment

    • mikeinspain
      New Member
      • Jan 2007
      • 21

      #3
      thanks for your help.. will give that a go...

      thanks again

      Mike

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        Thanks for your assistance motoma! Keep it up.

        Ronald :cool:

        Comment

        • Motoma
          Recognized Expert Specialist
          • Jan 2007
          • 3236

          #5
          Originally posted by ronverdonk
          Thanks for your assistance motoma! Keep it up.

          Ronald :cool:
          How am I supposed to surpass you in posts, if every time I answer a question you post a response thanking me?

          :P

          You are very welcome; I am always happy to help.

          Comment

          Working...