Hello, I'm new to perl. Never seen it in my life till our ex-consultant bought a software for one of our website.
I need this piece of code (written half by the software creator and me) to pass data to a page I wrote in php.
<SCRIPT>
document.write('<a href=../updateschoolinfo.php?source=$data[schools.source]&pid=$data[schools.pid]&city=$data[schools.city]&state=$data[schools.state]&zip=$data[schools.zip]&phone=$data[schools.phone]&enrollment=$data[schools.enrollment] target=new>Update School Info</a>');
</SCRIPT>
The problem is, whenever there's a white space in any of the data field, the data following the 1st white space is cut off. How do I go about resolving this? I know I can use '+' for white space but how do I apply it here? And here's a piece from my php page that's getting the data.
<td><input name="mail_address" size="35" maxlength="35" value="<?= $address ?>"></td>
Any help will be greatly appreciated. Thanks in advance.
I need this piece of code (written half by the software creator and me) to pass data to a page I wrote in php.
<SCRIPT>
document.write('<a href=../updateschoolinfo.php?source=$data[schools.source]&pid=$data[schools.pid]&city=$data[schools.city]&state=$data[schools.state]&zip=$data[schools.zip]&phone=$data[schools.phone]&enrollment=$data[schools.enrollment] target=new>Update School Info</a>');
</SCRIPT>
The problem is, whenever there's a white space in any of the data field, the data following the 1st white space is cut off. How do I go about resolving this? I know I can use '+' for white space but how do I apply it here? And here's a piece from my php page that's getting the data.
<td><input name="mail_address" size="35" maxlength="35" value="<?= $address ?>"></td>
Any help will be greatly appreciated. Thanks in advance.