Jump to content

stupid error or am I being stupid ???????????????????????


Guest upirate

Recommended Posts

Guest upirate

There doesn't appear to be anything so wrong that it would cause your code to fail outright.  The most likely culprit is that you have a syntax error elsewhere in your code and display errors is set to 0 in your php.ini file, so it will not show syntax errors.

 

It is always a good idea to use single quotes when addressing array elements:

 

$fav = '<a href=' . str_replace(" ", "+", $_POST['url']) . '>' . $_POST['mysearch'] . '</a>';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.