Jump to content

carraras

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

carraras's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am trying to use [code]$myrow["body"]=str_replace("\n","<br>",$myrow["body"]);[/code] I am changing any \n to a br. The [color=blue]$myrow["body"][/color] is stored in MySQL as a [color=purple]Blob[/color]. Do I need to use another function? Or what would be the correct way to do this.
  2. Sounds right. I just didn't know if [color=green][i]require_once[/i][/color] was much different than [color=blue][i]include[/i][/color]. Thank you.
  3. In my index.php file I have the code: [code]if($action=="Rename") require_once("rename.php");[/code] Let's say rename.php has code of: [code]<? $first="one"; echo $first; ?>[/code] I want to combine the two files. If it was a simple include, then I would have no problem. [i]How would I [b]combine[/b] the two in index.php?[/i] Thank you, Sam
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.