Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 15:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



String Syntax nl2br("Zeichenkette") hilfe

Discussion on String Syntax nl2br("Zeichenkette") hilfe within the Web Development forum part of the Coders Den category.

Closed Thread
 
Old   #1

 
Givemoney's Avatar
 
elite*gold: 18
The Black Market: 677/0/0
Join Date: Feb 2012
Posts: 28,543
Received Thanks: 1,109
String Syntax nl2br("Zeichenkette") hilfe

Ich möchte den Array formatieren bzw so ausgeben wie ich das möchte und dann es auf einer andere Seite untereinander ausgeben, das mach ich mit "nl2br".

Die erste Datei, sieht wie folgt aus:

PHP Code:
echo '<option value = '.$row["firstname"]."|".$row["lastname"]."|".$row["street"]."|".$row["PLZ"]."|".$row["number"]."|".$row["email"]. '>' .$row["firstname"] . " " .$row["lastname"]. "</option>"
Nartülich, fehlt da noch die schleife, login usw aber das muss ich ja nicht Posten.

Die 2 Datei sieht so aus:

PHP Code:
$daten "Erste Zeile\nZweite Zeile";


$aus $_POST['Ausgabe'];

  echo 
"<br>";

echo 
"$aus<br>";

echo 
nl2br($aus); 
Gelöst#

Ich habe es einfach mit explode gemacht.

PHP Code:
$aus;

$array explode(",",$aus);

echo 
$array[0]."<br>".$array[1]."<br>".$array[2]."<br>".$array[3]; 
Mfg

Givemoney
Givemoney is offline  
Closed Thread


Similar Threads Similar Threads
[VB.net] "escaped unicode" String dekodieren [bsp. "Dave\u0099"]
12/12/2013 - .NET Languages - 4 Replies
Hey, ich habe ein Problem beim dekodieren von einem "escaped unicode" String. Warum in "" gesetzt? weil ich mir nicht sicher bin, ob der String auch wirklich "escaped unicode" heißt. Als Beispiel könnt ihr "Dave\u0099" nehmen, wo Dave™ herauskommen muss. Ein kleiner Ansatz würde mir schon weiterhelfen :) LG, Dave
Syntax error: start "string" near 'then"
10/27/2013 - Metin2 Private Server - 0 Replies
Hi guys I am create a basic quest with use to item click. After is quest working but, I am complex to quest loop, show me this is error, syntax error : :108: unexpected symbol near `then" My quest line between 99 and 119 is; local _gold = select("500M","1T","Close ") if _gold == 1 then say_title("MyMT2 - 500M Buy")



All times are GMT +1. The time now is 15:03.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.