By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,746 Members | 1,780 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,746 IT Pros & Developers. It's quick & easy.

can anyone help with this coding? please??

mikeinspain
P: 21
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_shim.php');require_once('_class_funct ions/enquiryList.php'); require_once('vars.php');// make sure visitor has selected a property to enquire about if(!empty($_SESSION[$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.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Property Enquiry</title><link href="webkit.css" rel="stylesheet" type="text/css" /><script language="JavaScript" 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
Jan 24 '07 #1
Share this Question
Share on Google+
4 Replies


Motoma
Expert 2.5K+
P: 3,235
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_shim.php');require_once('_class_funct ions/enquiryList.php'); require_once('vars.php');// make sure visitor has selected a property to enquire about
if(!empty($_SESSION[$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.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Property Enquiry</title><link href="webkit.css" rel="stylesheet" type="text/css" /><script language="JavaScript" 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_shim.php');
require_once('_class_functions/enquiryList.php');
require_once('vars.php');// make sure visitor has selected a property to enquire about if(!empty($_SESSION[$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.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Property Enquiry</title>
<link href="webkit.css" rel="stylesheet" type="text/css" /><script language="JavaScript" type="text/JavaScript">
[/PHP]
Jan 24 '07 #2

mikeinspain
P: 21
thanks for your help.. will give that a go...

thanks again

Mike
Jan 24 '07 #3

ronverdonk
Expert 2.5K+
P: 4,258
Thanks for your assistance motoma! Keep it up.

Ronald :cool:
Jan 24 '07 #4

Motoma
Expert 2.5K+
P: 3,235
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.
Jan 24 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.