Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1106 connectés 

  FORUM HardWare.fr
  Programmation
  PHP

  problème avec substr

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

problème avec substr

n°1339374
biying
Posté le 05-04-2006 à 02:54:06  profilanswer
 

Bonjour,
Je veux uiliser substr pour afficher une partie d'une donnée qui provient d‘une base de données mais je n‘y arrive pas.
voila la donnée que je veux afficher:
'.$row['formtextarea1'].'  
Est-ce que quelqu‘un pourrait m’aider
Merci

mood
Publicité
Posté le 05-04-2006 à 02:54:06  profilanswer
 

n°1339408
anapajari
s/travail/glanding on hfr/gs;
Posté le 05-04-2006 à 09:32:44  profilanswer
 

biying a écrit :

Bonjour,
Je veux uiliser substr pour afficher une partie d'une donnée qui provient d‘une base de données mais je n‘y arrive pas.
voila la donnée que je veux afficher:
'.$row['formtextarea1'].'  
Est-ce que quelqu‘un pourrait m’aider
Merci


Bin tu lis la doc et tu constates que:

Citation :

Description
string substr ( string string, int start [, int length] )
 
substr() returns the portion of string specified by the start and length parameters.
 
If start is non-negative, the returned string will start at the start'th position in string, counting from zero. For instance, in the string 'abcdef', the character at position 0 is 'a', the character at position 2 is 'c', and so forth.


Donc où est le problème exactement?


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  PHP

  problème avec substr

 

Sujets relatifs
probléme avec la fonction rmdirjavascript: probleme de focus
[EasyPhp] Gros problème de lenteur avec MySQLprobleme parse_url
Utilisation de libsndfile: problème de linkProbleme de PHP avec IIS et Apache
Probleme ascenseur et overflow[Java] Probleme de répertoire courant
[resolu] probleme avec un echo "<a href..." au niveau du ">" de finproblème de récupération substr
Plus de sujets relatifs à : problème avec substr


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR