Joomla! Discussion Forums



It is currently Fri Nov 27, 2009 8:19 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
Posted: Fri Nov 09, 2007 2:46 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Oct 21, 2007 11:20 am
Posts: 9
Hello friends,
again I'm looking for help. Though everything works pretty good right now I have a general question for this doesn't work.
I've written an HTML document, a very easy one, trying to initialise some informations about visitors.
Well anyhow, the problem is that the necessary PHP file doesn't use the HTML variables like $benutzer or $stadt.
The PHP and HTML documents are in two equally named but seperated files.
I suppose there is something wrong with the system initialisation. But what could it be for I assume the code is correct.

Could you please give me a hint?
Here ist the code of the HTML and the PHP.

Thanx a lot.

PHP CODE

Prominentenklatsch



EILNACHRICHT!!!






Gestern Abend wurde der Prominente aus
im Deluxor in Padborg gesehen. Seine Begleiter: -Lederhosen Joe
-Firtz der Witz
-Kate Winselned
End of Story.




HTML CODE















Vorname des Benutzers:
Große Stadt:




Top
  E-mail  
 
Posted: Fri Nov 09, 2007 10:06 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Aug 23, 2005 2:18 pm
Posts: 331
Location: Houston, TX
Can I ask what this has to do with Joomla?


Top
  E-mail  
 
Posted: Sat Nov 10, 2007 1:11 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Oct 21, 2007 11:20 am
Posts: 9
Hy,
sure, I'm using Joomla on  localhost and trying to create a homepage using HTML, PHP and CSS. But somehow PHP doesn't use any of the variables initialised in the HTML script. ??? Just don't have a clue as to why that ist?

Greetings J.


Top
  E-mail  
 
Posted: Sat Nov 10, 2007 5:32 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Aug 23, 2005 2:18 pm
Posts: 331
Location: Houston, TX
Ok I think we are getting confused on terminology. I don't understand what you mean by an "HTML script". HTML does not contain programming. It is the PHP that does the programming.

With Joomla, you build all of the pages of your website in the content editors.

If you want to customize the overall layout of the site, you edit the file /templates/rhuk_milkyway/index.php  (assuming rhuk_milkyway is your template).


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: abernyte, Arianna, brduran, bvana1, cc nexus, David112, dgougoul, dhuelsmann, JC786, jmuehleisen, PatPeter, Punk-Communist, rogier10, sipickles, troxclair, WelshGeezer and 88 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group