onClick='location.href=index.htm'> not working


Posted on 16th Feb 2014 07:03 pm by admin

Below is my code:

echo "<input type='button' value='redirect' onClick='location.href=index.htm'>";

what is wrong with the code?? it's not working

No comments posted yet

Your Answer:

Login to answer
232 Like 9 Dislike
Previous forums Next forums
Other forums

Help on query replacing the date
Hi Pals,

i want to replace the current date in a column to some value say C or D or any n

Facebook status update API
Hello,

So, I'm trying to create my first Facebook application with PHP.

Basic ideas fo

CURL question
i am wondering if it's possible to use multi curl with login something like

login once to web

Not "Just Another" MMORPG - text based.
Hello,

I've been learning MySQL and PHP for the last 2-3 years.
Though, I've had long paus

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

Linux socket programming
Where can I find a good introduction to socket programming?

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

help need on ob_start()
Hi

I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpo

XML Grouping
I'm using xml_parse_into_struct to get all my elements, but now I need to group them. For example, h

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash