- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
39 Posted Topics
if i got your problem right when user submits a from u check if number is proper on same page and if error display an error ? if yes then try javascript else cwarn123's solution should do
The script is used in my newest chrome app [url]https://chrome.google.com/webstore/developer/detail/bomkcodcgmbjjhogdjophonfhgpegoni/[/url] Site: [url]http://codestrix.co.cc/pixels/[/url] The above script is a good to get stated with HTML5 canvas. Much of it is named so as to be self explanatory but any doubts you are more than welcome to post it here.
The present form puts the response text in the div You are using a roundabout method , why not directly check using js its not that tough . A variation would be to avoid ajax and try having submit redirect to same page . If all are proper you clear …
the documentation is your guide [url]http://php.net/manual/en/function.number-format.php[/url] examples are self-sufficient in case you have any more doubts
have a look at const if it satisfies your requirements
If you want to send out data as GET just append '?width=xxx&height=xxx' to href and retrieve using $GET['width']
select all values in table for which this fieldvalue lies between givenvalue*0.95 and givenvalue*1.05 wont that work ?
[url]http://articles.sitepoint.com/article/advanced-email-php/1[/url] also search on daniweb itself this is a frequent question
set name as a array - that way each loop will store its entry in name array [CODE]foreach($var1 as $ var2){echo $var2;} [/CODE]
ok here is the logic as and when the user enters the data and blurs out of the firled use foll syntax document.getElementById("your elem id").onblur = adder; in adder take the value and add it to a variable finally when user hits submit put the final variable values into the …
say a query returns 100 entries [CODE]foreach($x as $y){ switch($y[2]) } [/CODE]
Hmm the user borrows the entry is stored in database When user returns it just check if time is greater than 24hr levy ($time-24)*2 penalty else 0 penalty
there are many ways - you could add it to your database with flag 0 , alternatively if payment site be opened in a pop up and when it is done it redirects to your page .
app: [url]http://apps.facebook.com/brainchecker[/url] this was just for learning experience I am having trouble with how to get the permissions dialog open directly instead of that initial go to facebook.com page which directs me to the dialog
its all a part of cms like vbulletin / phpbb it take quite some work to implement your own
ok so if the number is xyz [eg: 123] recursively add the img elements corresponding to each digit from the right till the number reduces to 0. from what you posted it seems you can do 0 to 9 ut ur stuck at 10
a login form shouldnt be tough [url]http://www.phpeasystep.com/phptu/6.html[/url] if you didnt like just search for login script on google as for the chat - they are called chat rooms - many such software exist online a basic idea i can think of for this probably have each entry by a user …
just add a flash element with the songs you wish to play , alternatively try the html 5 audio tag no one can change your html code / flash element
view your source - if the source code of your webpage contains the reqd div then its html problem else its php if,else braces problem your logic seems to be right
now how in the world is this related to php ,templates come under css mostly .And kindly search once on google before posting
the problem as i see it is that header syntaxing is correct but * Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. *
could you post the error , instead of us searching for the error
[CODE] <html> <body> <canvas id="example" width="800" height="600"> This text is displayed if your browser does not support HTML5 Canvas. </canvas> <script type="text/javascript"> var example = document.getElementById('example'); var context = example.getContext('2d'); for(var j=0;j<8;j++){ for(var i=0;i<6;i++){ context.fillStyle = "rgb(255,0,0)"; context.fillRect(100*j, 100*i, 50, 50); } } </script> </body> </html> [/CODE] how do i …
try seeing the yql console : yahoo query language it will really help you get the weather data lse try a weather api [google search]
you have written the code wrongly preg_replace takes 3 parameters - pattern,replacement,string u have provided pattern and string but replacement is missing
try having the form with action as the same page [CODE]if (isset $_GET[''your variable]) { echo "thanks" } else { //your form }[/CODE] try a code like this
[CODE] <?php $allqts = array[" "," ",........]; $my_random = rand(0,count($quotes)-1); echo $allqts[$my_random]; ?> [/CODE] something like this your code should be
your form is submitting a value but php is not getting it . so echo will print nothing post data is sent to action =" " site
without the html i cant suggest much none the less try putting everything in a container with width say 70% and then divide into blocks to cover the entire 100% of the container that way nothing moves out of its bounds
to print in formatted style always use it like print "Item %d: %s" % (i, strings[i])
form action="link to other page " in the other page value is available as $_POST['value of option selected']
i dont think you should expect people to write it for you make an efffort first and approach for help
kindly mark solved thread as solved
[url]www.dinara.teamvenom-nfsu2.com/font.php[/url] a whole list of fonts check it out
you could try making one of the entries a primary key and if needed not null that way it wont be null and duplicate entries wont be written
try this - if something goes wrong u can still go forward - 1st try to connect and keep the rest of the code indented . $dbhandle = mysql_connect($hostname, $username, $password) or die("Unable to connect to MySQL"); echo "Connected to MySQL<br>" $selected = mysql_select_db("examples",$dbhandle) or die("Could not select examples");
change the code in html to send tom\ hanks that should do the job i think
The End.
anilashanbhag