Click here to Skip to main content
15,885,537 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: PHP vs ASP.net Pin
Luc Pattyn20-Mar-11 11:34
sitebuilderLuc Pattyn20-Mar-11 11:34 
AnswerRe: PHP vs ASP.net Pin
Pravin Patil, Mumbai20-Mar-11 18:42
Pravin Patil, Mumbai20-Mar-11 18:42 
AnswerRe: PHP vs ASP.net Pin
Wayne Gaylard20-Mar-11 23:30
professionalWayne Gaylard20-Mar-11 23:30 
AnswerRe: PHP vs ASP.net Pin
MacRaider422-Mar-11 5:34
MacRaider422-Mar-11 5:34 
AnswerRe: PHP vs ASP.net Pin
RaviRanjanKr21-Apr-11 6:29
professionalRaviRanjanKr21-Apr-11 6:29 
Question"." operator to join two strings... Pin
Joan M18-Mar-11 9:17
professionalJoan M18-Mar-11 9:17 
AnswerRe: "." operator to join two strings... Pin
samarulraj18-Mar-11 19:59
professionalsamarulraj18-Mar-11 19:59 
GeneralRe: "." operator to join two strings... Pin
Joan M18-Mar-11 21:45
professionalJoan M18-Mar-11 21:45 
AnswerRe: "." operator to join two strings... Pin
effayqueue19-Mar-11 2:39
effayqueue19-Mar-11 2:39 
GeneralRe: "." operator to join two strings... [modified] Pin
Joan M19-Mar-11 3:11
professionalJoan M19-Mar-11 3:11 
GeneralRe: "." operator to join two strings... Pin
effayqueue19-Mar-11 3:28
effayqueue19-Mar-11 3:28 
GeneralRe: "." operator to join two strings... Pin
Joan M19-Mar-11 3:37
professionalJoan M19-Mar-11 3:37 
GeneralRe: "." operator to join two strings... Pin
effayqueue19-Mar-11 3:32
effayqueue19-Mar-11 3:32 
AnswerRe: "." operator to join two strings... Pin
Luc Pattyn19-Mar-11 3:58
sitebuilderLuc Pattyn19-Mar-11 3:58 
GeneralRe: "." operator to join two strings... Pin
Joan M20-Mar-11 22:53
professionalJoan M20-Mar-11 22:53 
GeneralRe: "." operator to join two strings... Pin
Luc Pattyn20-Mar-11 23:05
sitebuilderLuc Pattyn20-Mar-11 23:05 
GeneralRe: "." operator to join two strings... Pin
Joan M20-Mar-11 23:13
professionalJoan M20-Mar-11 23:13 
AnswerRe: "." operator to join two strings... Pin
Luc Pattyn20-Mar-11 23:32
sitebuilderLuc Pattyn20-Mar-11 23:32 
AnswerRe: "." operator to join two strings... Pin
Graham Breach20-Mar-11 23:52
Graham Breach20-Mar-11 23:52 
GeneralRe: "." operator to join two strings... Pin
Joan M21-Mar-11 0:31
professionalJoan M21-Mar-11 0:31 
AnswerRe: "." operator to join two strings... Pin
nickmaroulis21-Mar-11 14:05
nickmaroulis21-Mar-11 14:05 
PHP has two ways for specifying strings.

single quotes ''
double quotes ""

$car = 'Holden';

$sq = 'My car is a $car'; //My car is a $car
$dq = "My car is a $car"; //My car is a Holden

With double quotes the variable is inserted.
If you are using an array or want to seperate a variable in double quotes use braces.

$array['tv_show'] = 'American Idol';

$br = "{$array['tv_show']} is terrible but {$car}'s are awesome";


for the example above use "{$_SERVER['DOCUMENT_ROOT']}/FILE.php";

It may be that you are using windows and the interpreter could be swapping a '/' for '\'.
Questionphp library Pin
0b4m418-Mar-11 2:23
0b4m418-Mar-11 2:23 
Questionافقافايقاسقاالبل Pin
othman_thacol15-Mar-11 6:31
othman_thacol15-Mar-11 6:31 
AnswerRe: عثـــــــــــــــــــــــــــــــمان ثكول Pin
othman_thacol15-Mar-11 6:37
othman_thacol15-Mar-11 6:37 
GeneralHow to Print from mySQL with the conservation of Alris Page Pin
Richard MacCutchan18-Mar-11 10:51
mveRichard MacCutchan18-Mar-11 10:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.