I need to make a script that will generate a spiral html table.. user should be able to enter number of rows and columns... and a spiral should appear... and I havent a clue... can someone give me some hints? some ideas? PLEASE! thanks

something like ulam spiral... but much simpler...

Member Avatar

you can call .innerHTML property to return HTML to the page. Just like in PHP youd use 'echo' to print out HTML elements

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.