Secondo voi è corretta questa sintassi??
Codice PHP:
<style type="text/css">
<!--
body {
background-image: url(<?php echo "{$array['background']}";?>);
//etc...etc....
Secondo voi è corretta questa sintassi??
Codice PHP:
<style type="text/css">
<!--
body {
background-image: url(<?php echo "{$array['background']}";?>);
//etc...etc....
quindi così sarebbe tutto ok?
Codice PHP:
<style type="text/css">
<!--
body {
background-image: url(<?php echo "$array['background']";?>);
il problema e che sono 80 variabili...nn vorrei riscriverle tutte di nuovo
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
quasi tutti i programmi hanno la funzione sostituisci
prova a afare così echo "".$var."";
echo $array['background'];
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it
Quella è la sintassi corretta per
stampare a video il valore di un array.
Ad ogni modo non ha molto senso quello
che stai facendo !
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it