Board index   FAQ   Search  
Register  Login
Board index php forum :: Bar Free time

Code Formatting

Bar discussions . Talk about everything not only php !. Guests are welcome here , forum registration is not required.

Moderators: macek, egami, gesf

Code Formatting

Postby MeroD » Thu Oct 25, 2012 10:31 pm

Code: Select all
The code formatting for PHP here really sux :(


Can't it maybe be upgraded to a better (and more readable) standard perhaps?
MeroD
New php-forum User
New php-forum User
 
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

Re: Code Formatting

Postby egami » Fri Oct 26, 2012 7:26 am

try wrapping it with [ code = php ]


like this..
Code: Select all
<?php
echo "This is how we do it, do it!";
function 
fahgetaboutit($myVar)
{
  return 
"Said the New Yorker!";
}
 
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2197
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Code Formatting

Postby MeroD » Fri Oct 26, 2012 11:02 pm

Oh cool! I kinda missed that :oops:

Since this is a PHP site, can't it just do that automatically? Or at least add a Code[PHP] button?
MeroD
New php-forum User
New php-forum User
 
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am


Return to Free time

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.