Use of undefined constant????

Status
Not open for further replies.

ziycon

New Member
Any ideas??
This is what i have on line 751:
Code:
<form method="get" name="make_model" id="make_model" action="';$_SERVER[’REQUEST_URI’]."?".$_SERVER[’QUERY_STRING’];echo'">
I get this error:
<b>Notice</b>: Use of undefined constant ’REQUEST_URI’ - assumed '’REQUEST_URI’' in <b>C:\Apache\htdocs\st\sys_config\config.php</b> on line <b>751</b><br />128<br />
129<b>Notice</b>: Undefined index: ’REQUEST_URI’ in <b>C:\Apache\htdocs\st\sys_config\config.php</b> on line <b>751</b><br />
130<br />
131<b>Notice</b>: Use of undefined constant ’QUERY_STRING’ - assumed '’QUERY_STRING’' in <b>C:\Apache\htdocs\st\sys_config\config.php</b> on line <b>751</b><br />
132<br />
133<b>Notice</b>: Undefined index: ’QUERY_STRING’ in <b>C:\Apache\htdocs\st\sys_config\config.php</b> on line <b>751</b><br />
 

georgiecasey

New Member
Are you sure you're using the single quote ', ascii character 39. that looks like the other one.
 

louie

New Member
should be:
PHP:
<form method="get" name="make_model" id="make_model" action="<?php echo $_SERVER['REQUEST_URI']."?".$_SERVER['QUERY_STRING'];?>">
 
Status
Not open for further replies.
Top