Re: syntax highlighting

From: Date: Thu, 09 Nov 2000 17:51:53 +0000
Subject: Re: syntax highlighting
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-24522@lists.php.net to get a copy of this message
Check out the eval() function - it reruns code stored in a string. So the answer to your question is yes ;o) --Joe On Thu, Nov 09, 2000 at 12:55:23PM -0500, craig girard wrote: > This has brought up a good question. Can PHP code be stored in a db and run > after queried? that is awesome if it can. > > -----Original Message----- > From: Joe Stump [mailto:joe@earth.care2.com] > Sent: Thursday, November 09, 2000 12:42 PM > To: David Tod Sigafoos > Cc: Joe Stump; php-general@lists.php.net > Subject: Re: [PHP] syntax highlighting > > > Everyone can see what I meant by "Syntax highlighting" here: > > http://www.miester.org/articles/1 > > I wanted to highlight my code in an article that was stored in a database on > the > fly, and then pass it to a function for some other formatting. The fix was > posted earlier on the list. > > --Joe > > On Thu, Nov 09, 2000 at 07:11:11AM -0800, David Tod Sigafoos wrote: > > JS> Is there something that will highlight a string and RETURN the > highlighted > > JS> string? highlight_string() PRINTS out the highlighted string - this is > NOT what > > JS> I need it to do. > > > > Joe, > > > > you know that <b></b> are the html bold tags .. yes? What else are > > you trying to achieve? > > > > DSig > > David Tod Sigafoos > > > ============================================================================ > ==== > = Joe Stump joestump98@yahoo.com > http://www.miester.org = > ============================================================================ > ==== > "Real programmers don't comment their code. > It was hard to write, it should be hard to understand." > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > ================================================================================ = Joe Stump joestump98@yahoo.com http://www.miester.org = ================================================================================ "Real programmers don't comment their code. It was hard to write, it should be hard to understand."

« previous php.general (#24522) next »