Ups! By mistake I didn't reply to all. Resending. Sorry.
De: Parham Doustdar
Para: php-general@lists.php.net
Enviado: martes, 22 de septiembre, 2009 9:41:44
Asunto: [PHP] Question: Wai-aria?
Hello there,
I
have asked on the mailing lists that have blind users
You missed a double quote here:
echo "
\n";
De: Haig Davis
Para: php-general@lists.php.net
Enviado: miƩrcoles, 23 de septiembre, 2009 16:18:17
Asunto: [PHP] Parse error: syntax error, unexpected '>'
Good morning Everyone,
I'm have trouble wi
lighting if you
haven't one. It would warn you from most of these mistakes.
And an xhtml issue: to use an empty tag, you use and not
De: Fernando Castillo Aparicio
Para: Haig Davis ; php-general@lists.php.net
Enviado: miƩrcoles, 23 de septiembre, 2009
Have you tried http://es.php.net/manual/en/function.nl2br.php ?
I think it's easier and fits your needs.
De: Adam Williams
Para: PHP General list
Enviado: jueves, 24 de septiembre, 2009 20:52:13
Asunto: [PHP] html email showing instead of line breaks
I have
I think you are just looking for the key in the wrong place. Try:
foreach ( $records as $record ) {
foreach( $record as $column=>$value ) {
echo "$column is $value\n";
}
}
You've got the columns names in each record, not in the global recorset.
Good luck ;-)
_
De: MEM
Para: Lester Caine ; php-general@lists.php.net
Enviado: vie,9 octubre, 2009 12:40
Asunto: RE: [PHP] Newbie: Array of objects iteration
@LinuxManMikeC and all @All
Thanks. I was more or less aware of that possibility, however, please let me
share the b
You are replacing 1 or more matchs of a new line. To match 2 or more you can
use "{2,}". It's a range, first number means min matches, second max matches.
Omitting last number means no max limit.
$data[txt] = preg_replace('`[\r\n]{2,}`',"\n",$data[txt]);
De: M
is the same. It removes all linebreakes but one.
> I would like to pass this one:
>
> -
> first line
>
> second
> third
> -
>
> But not this one:
> -
> third
>
>
>
>
> forth
>
>
>
>
> Fernando C
5.2.8, but testing 5.3 in local environment.
I'm not sure where is the problem, but can't you just define every changing
part in your template as variables and assign them as needed from php?
If you need to change the image url, just make it a variable, like in
background:url(images/{$img})
Then you just assign the variable as needed in e
You could just open in a new window a php script that generates the "preview"
pdf with a content-type header for pdf.
header("Content-type: application/pdf");
Or if the "preview" pdf is not dinamic, just point the url to the pdf.
No javascript needed, just a link, o a submit button on a form wi
11 matches
Mail list logo