Lv-Kris Posted January 16, 2007 Share Posted January 16, 2007 Hello. ;DWell I am willing to display a html table and form within the php. Why? because i have an if/else statement that checks if the user is logged in. Then it should display a html table with some forms. Ive tried to do it with the echo statement by changing html quotes "" with php quotes ''. well is seems to understand it and the form is displayed, but the $_POST isn't working when i try to post it on some other page. I tried the same form out of php and the post value works perfectly. Yea, some other stuff- i have a users table in my MySQL db, for example i have many items for example-medals and each user can have more than one of a kind. So could i store that in a single column or make a column for each of the items showing the count of items user has?Thank You for advicesKris ;D Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 16, 2007 Share Posted January 16, 2007 instead of echoing the whole form, just end your PHP and start the html\[code]if($x){ ?><p>Hi</p><?}else{ ?><p>Bye!</p><?}[/code] 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.