User Profile
Collapse
-
just tried it, im getting the same error on that line -
Parse error: syntax error, unexpected T_STRING, expecting ':' or ';'
Im getting this error;
Parse error: syntax error, unexpected T_STRING, expecting ':' or ';'
with this line;
[HTML]header ('postcodesearc h.php?e=nw&pcod e=',[$origPostCode]);[/HTML]
I cant find whats wrong, can anyone help? -
-
That sorted it, thanks. now im getting Parse error: syntax error, unexpected T_STRING on line 21.Leave a comment:
-
-
Ive made a few amends but still not working it gives the error Parse error: syntax error, unexpected '!' from this line:
[HTML]if ($origPostCode ! == ""){ //we've come from the postcode search page[/HTML]
i need the in there though because it is supposed to say is not equal to nothing.
[HTML]mysql_select_db ($database_wpol conn, $wpolconn);
$query_rs_pcode = "SELECT npt_code, dis_name FROM...Leave a comment:
-
-
Sorry, i was hoping someone could translate it and then i could compare it to my attempt. here is my attempt, would you be able to take a look please?
[HTML]mysql_select_db ($database_wpol conn, $wpolconn);
$query_rs_pcode = "SELECT npt_code, dis_name FROM q_npt_pcodes ";
$rs_pcode = mysql_query($qu ery_rs_pcode, $wpolconn) or die(mysql_error ());
$row_rs_pcode = mysql_fetch_ass oc($rs_pcode);
$totalRows_rs_p code...Leave a comment:
-
ASP to PHP
Hi. i have this page in ASP that pulls an entered postcode and displays the apropriate details for that area and i need to translate it into PHP. can anyone help?
Im using a MySQL database.thank you for any help that you can give, much appreciated.
Function RemoveWhiteSpac e(strText) 'function to remove white spaces from post code
Dim RegEx
Set RegEx = New RegExp
RegEx.Pattern = "\s+"
...
No activity results to display
Show More
Leave a comment: