winmastergames Posted April 9, 2008 Share Posted April 9, 2008 <?php $swduser = $_GET["user"]; $titleadd = $_POST["titleadd"]; $sloganadd = $_POST["sloganadd"]; $id-user = $_POST["user"]; ?> Welcome to Website Designer<br> <a href="page-editor.php?user=<?php $swduser ?>&id=<?php $id-user ?>">Page Editor</a><br> <a href="accoutadmin.php?user=<?php $swduser ?>&id=<?php $id-user ?>">Account Administration</a> Whats Wrong Simple I know but seems to bring out this error Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\websitedesigner\makewebsite.php on line 5 Quote Link to comment Share on other sites More sharing options...
Barand Posted April 9, 2008 Share Posted April 9, 2008 might be objecting to $id minus user = $_POST["user"]; Quote Link to comment Share on other sites More sharing options...
gluck Posted April 9, 2008 Share Posted April 9, 2008 Variables in PHP are represented by a dollar sign followed by the name of the variable. The variable name is case-sensitive. Variable names follow the same rules as other labels in PHP. A valid variable name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. Quote Link to comment Share on other sites More sharing options...
winmastergames Posted April 9, 2008 Author Share Posted April 9, 2008 Thanks Fixed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.