string variables on my website
By android
@android (895)
May 4, 2009 7:00am CST
Years ago I learned to program in basic and amos and other similar programming languages using string variables. Eg, input A$, if A$="?" then goto, etc. Can I use string variables and commands like this to code parts of my website? If so, in what language? The nearest thing to what I want that I can find is php, but it's just not making any sense.
3 responses
@songz2000 (11)
• China
5 May 09
Yes any other language can program like this ,you can also embed your code in the html language
@android (895)
•
7 May 09
Thanks for that. As far as I can see it looks like PHP is going to be the easiest to learn. I also have to make sure that the hosting company I use supports whatever I decide to use, so I think it's best to stick to PHP. I've been looking into it and seem to be picking it up fairly quickly. It's not quite as difficult as I first anticipated.
@songz2000 (11)
• China
5 May 09
php is easy enough,if you are familiar with BASIC you may also find like asp and vbscript
@megh4u (372)
• Alpharetta, Georgia
5 May 09
yes, you can use any variable to code your program..but you need to follow syntax or we can say rules to define that, php is good server side scripting language and it can support you for your dynamic coding...I do use to code in php...its open source and freely avalilable...you can also use joomla its good....for web designing and quite easy to use and learn.
@kaz_man (292)
• Australia
4 May 09
not sure but I know what you mean.
I'm learning php coding, not sure if you can do what you said but there are different ways to do it.
Such as this example:
Hope that helps. For references, http://au.php.net/manual/en/control-structures.else.php or here http://www.w3schools.com/PHP/default.asp