Code Formatting

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

Moderators: macek, egami, gesf

MeroD
New php-forum User
New php-forum User
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

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?

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

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!";
}
 

MeroD
New php-forum User
New php-forum User
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

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?


Return to “Free time”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest