string variables on my website

@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
• China
5 May 09
Yes any other language can program like this ,you can also embed your code in the html language
@android (895)
5 May 09
Do you have any suggestions on which one is the easiest to learn? Or is it just safer to go with php?
@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.
• 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.
@android (895)
5 May 09
Thanks for that. One question that comes to mind: Would php store the values of the variables indefinitely? Or would they be reset back to the original values at some point unless they are stored in some kind of database?
@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
@android (895)
5 May 09
Thanks for that, this looks very similar. After doing some research it looks like I may have to learn php. It certainly doesn't look very easy though and there's a lot of work I need to get done quickly. Looks like I may have to delay my plans slightly!