Looking for PHP Advice. Inserting only the first word
I am trying to pass a variable from one page to another by url (.php?id=".$pi."&name=".$row['title']."). Then I attempt to insert $id and $name into a database on the new page. There is a problem however. If a name is two words, it only inserts the first word, excluding the second. Any advice?