- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- WEB: Know HTML, CSS , JS , PHP Prog Lang : Know C++,Python OS: I use Linux
39 Posted Topics
Re: 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. | |
Re: 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 … | |
Re: 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 | |
Re: have a look at const if it satisfies your requirements | |
Re: If you want to send out data as GET just append '?width=xxx&height=xxx' to href and retrieve using $GET['width'] | |
Re: select all values in table for which this fieldvalue lies between givenvalue*0.95 and givenvalue*1.05 wont that work ? | |
Re: [url]http://articles.sitepoint.com/article/advanced-email-php/1[/url] also search on daniweb itself this is a frequent question | |
Re: set name as a array - that way each loop will store its entry in name array [CODE]foreach($var1 as $ var2){echo $var2;} [/CODE] | |
Re: 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 … | |
Re: say a query returns 100 entries [CODE]foreach($x as $y){ switch($y[2]) } [/CODE] ![]() | |
Re: 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 | |
Re: 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 | |
Re: its all a part of cms like vbulletin / phpbb it take quite some work to implement your own | |
Re: 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 ![]() | |
![]() | |
Re: 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 … | |
Re: 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 | |
Re: 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 | |
Re: now how in the world is this related to php ,templates come under css mostly .And kindly search once on google before posting ![]() | |
Re: 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. * | |
Re: 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 … | |
Re: try seeing the yql console : yahoo query language it will really help you get the weather data lse try a weather api [google search] | |
Re: you have written the code wrongly preg_replace takes 3 parameters - pattern,replacement,string u have provided pattern and string but replacement is missing | |
Re: 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 | |
Re: [CODE] <?php $allqts = array[" "," ",........]; $my_random = rand(0,count($quotes)-1); echo $allqts[$my_random]; ?> [/CODE] something like this your code should be | |
Re: your form is submitting a value but php is not getting it . so echo will print nothing post data is sent to action =" " site | |
Re: 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 | |
Re: to print in formatted style always use it like print "Item %d: %s" % (i, strings[i]) | |
Re: form action="link to other page " in the other page value is available as $_POST['value of option selected'] | |
Re: i dont think you should expect people to write it for you make an efffort first and approach for help | |
Re: kindly mark solved thread as solved | |
Re: [url]www.dinara.teamvenom-nfsu2.com/font.php[/url] a whole list of fonts check it out | |
Re: 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 ![]() | |
Re: 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"); | |
Re: change the code in html to send tom\ hanks that should do the job i think |
The End.