Jump to content
MakeWebGames

Recommended Posts

Posted

Re: How do You Code Php Tables

at the risk of sounding dumb amongst all these superior programmers on here but what is the difference between a PHP table and an HTML table, my inferior intellect was always under the impression that a table was a table :?

Posted

Re: How do You Code Php Tables

It is the same! The php part is basically what you put into the table - eg a user name.

The best way to go about it is to simply use HTML, create the table how you want it to look then add the php into it... just make sure you print"" around the table and remove all the " within the table HTML coding

Posted

Re: How do You Code Php Tables

 

It is the same! The php part is basically what you put into the table - eg a user name.

The best way to go about it is to simply use HTML, create the table how you want it to look then add the php into it... just make sure you print"" around the table and remove all the " within the table HTML coding

I don't even bother removing the " within the table html coding, instead of doing

print"

";

just do

echo <<<EOF

EOF;

and you can leave it ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...