Search found 3 matches

by mikejmartin
Wed Mar 29, 2017 6:25 am
Forum: PHP coding => General
Topic: Best editor for PHP
Replies: 210
Views: 180875

Re: Best editor for PHP

I like dreamweaver cc but my favorite is CODA 2 the snippits make it awsome and it synchs across devices so a code snippet you made in the office will be available on your home computer or ipad. sublime text and php runner are also very handy
by mikejmartin
Wed Mar 29, 2017 6:08 am
Forum: PHP General
Topic: Useful PHP Articles, Sites
Replies: 46
Views: 29784

Re: Useful PHP Articles, Sites

5000 php functions in auto fill box gives you

function
arg
rtn

so if your not sure on what function to use this is well handy

http://mjmartin.co.uk/PHP_Function/
by mikejmartin
Wed Mar 29, 2017 6:00 am
Forum: PHP coding => General
Topic: how do i define this in a variable
Replies: 1
Views: 654

how do i define this in a variable

<?php
if ($action == 'uk_towns') {
echo $tel;
}
else {
echo $number;
}
?>

example

$landline = ????

it just keeps breaking my script but when i wrap it in "" or "' it doesnt work and echos full code and i struggled trying to define it as a constant