$oku = mysql_fetch_array($yaz);
echo $oku[0];
this prints my $oku[0] value for example hello world
But if I use it like:
echo "<a href=index.php?member=" . $oku[0] . ">" . $oku[0] . "</a>";
it shows the hello world in text form exactly right, but link goes to index.php?member=hello
It does not contain the text after the space. How can solve this issue?
Use the php rawurlencode-function to encode you string (which contains a space)