|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
I want to print </b>
Hi there, how are you today
my question is : how can i print the html or php code without execution like this PHP Code:
i want when i call the page print echo '<b>Hello world</b>'; not Hello world it that easy ? thanks for all, |
|
#2
|
|||
|
|||
|
Is highlight_string what you're looking for?
|
|
#3
|
|||
|
|||
|
Really thanks a lot Mr
![]() |
|
#4
|
|||
|
|||
|
sorry i have another quistion
i want to show 2 arrays An example : i have ... PHP Code:
i want to show 2 arrays in only one foreach like PHP Code:
thanks a lot, ![]() |
|
#5
|
|||
|
|||
|
Also, for the print of </b>
You can just do PHP Code:
Last edited by GameYin : May 11th, 2008 at 01:30 AM. |
|
#6
|
|||
|
|||
|
Here!
Hi!
You can try this, if the number of elements in both the arrays is the same: PHP Code:
Thanks! Last edited by speedbooster : May 11th, 2008 at 01:10 AM. |
|
#7
|
||||
|
||||
|
Quote:
it's a good idea thank you ... Quote:
sorry mr but it can't be displayed |
|
#8
|
|||
|
|||
|
Hi!
No problem. You're welcome! Did you find solution to your first problem? Thanks! |
|
#9
|
|||
|
|||
|
Quote:
yes i found it in mr "ptr2void" reply by using highlight_string() |
|
#10
|
|||
|
|||
|
Did you take away the spaces? Because I tried printing them without the spaces on here but it turned up like < and >
|
|
#11
|
|||
|
|||
|
yes it's printed <b> also , thank you
|
|
#12
|
|||
|
|||
|
Ok, because I find my way easier. When I do tutorials on stuff, I just use my method. I find it is much easier coding and it just looks cooler
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > I want to print </b> |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|