Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~24.8K People Reached
PC Specs
WEB: Know HTML, CSS , JS , PHP Prog Lang : Know C++,Python OS: I use Linux
Favorite Tags

39 Posted Topics

Member Avatar for james6754

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

Member Avatar for stekmil
0
2K
Member Avatar for anilashanbhag

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.

Member Avatar for anilashanbhag
1
658
Member Avatar for jdestruel

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 …

Member Avatar for htmlCoder101
0
3K
Member Avatar for ebanbury

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

Member Avatar for ebanbury
0
138
Member Avatar for markfw
Member Avatar for rkayd

If you want to send out data as GET just append '?width=xxx&height=xxx' to href and retrieve using $GET['width']

Member Avatar for rkayd
0
173
Member Avatar for flynismo

select all values in table for which this fieldvalue lies between givenvalue*0.95 and givenvalue*1.05 wont that work ?

Member Avatar for flynismo
0
186
Member Avatar for lee94

[url]http://articles.sitepoint.com/article/advanced-email-php/1[/url] also search on daniweb itself this is a frequent question

Member Avatar for anilashanbhag
0
101
Member Avatar for musfirah
Member Avatar for kokfui

set name as a array - that way each loop will store its entry in name array [CODE]foreach($var1 as $ var2){echo $var2;} [/CODE]

Member Avatar for anilashanbhag
0
115
Member Avatar for anita_86

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 …

Member Avatar for anita_86
0
649
Member Avatar for mosquo

say a query returns 100 entries [CODE]foreach($x as $y){ switch($y[2]) } [/CODE]

Member Avatar for diafol
0
116
Member Avatar for hxmelvin

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

Member Avatar for Ezzaral
-1
99
Member Avatar for eltonpiko

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 .

Member Avatar for Shanti C
0
485
Member Avatar for anilashanbhag

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

0
82
Member Avatar for armageddon11

its all a part of cms like vbulletin / phpbb it take quite some work to implement your own

Member Avatar for Taywin
0
251
Member Avatar for luisthedude

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

Member Avatar for diafol
0
495
Member Avatar for zacblazic
Member Avatar for dyla123

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 …

Member Avatar for anilashanbhag
0
101
Member Avatar for brianjoe

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

Member Avatar for RoyalElite96
0
349
Member Avatar for samsambm

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

Member Avatar for samsambm
0
155
Member Avatar for netclick

now how in the world is this related to php ,templates come under css mostly .And kindly search once on google before posting

Member Avatar for diafol
0
115
Member Avatar for kitschkath

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. *

Member Avatar for kitschkath
0
198
Member Avatar for hanif_thaheem

could you post the error , instead of us searching for the error

Member Avatar for anilashanbhag
0
31
Member Avatar for anilashanbhag

[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 …

0
70
Member Avatar for ujjval dave

try seeing the yql console : yahoo query language it will really help you get the weather data lse try a weather api [google search]

Member Avatar for Javvy
0
161
Member Avatar for Imratzio

you have written the code wrongly preg_replace takes 3 parameters - pattern,replacement,string u have provided pattern and string but replacement is missing

Member Avatar for Imratzio
0
225
Member Avatar for jackparsana

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

Member Avatar for jackparsana
0
197
Member Avatar for Silenta

[CODE] <?php $allqts = array[" "," ",........]; $my_random = rand(0,count($quotes)-1); echo $allqts[$my_random]; ?> [/CODE] something like this your code should be

Member Avatar for Javvy
0
103
Member Avatar for fluffybunny69

your form is submitting a value but php is not getting it . so echo will print nothing post data is sent to action =" " site

Member Avatar for ko ko
0
225
Member Avatar for cab_driver

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

Member Avatar for pixelsoul
0
105
Member Avatar for Alex.

to print in formatted style always use it like print "Item %d: %s" % (i, strings[i])

Member Avatar for richieking
0
102
Member Avatar for devinodaniel

form action="link to other page " in the other page value is available as $_POST['value of option selected']

Member Avatar for devinodaniel
0
128
Member Avatar for grayceworks
Member Avatar for grayceworks
0
5K
Member Avatar for ballchain
Member Avatar for pirula

[url]www.dinara.teamvenom-nfsu2.com/font.php[/url] a whole list of fonts check it out

Member Avatar for anilashanbhag
0
383
Member Avatar for devinodaniel

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

Member Avatar for diafol
0
6K
Member Avatar for luweegee

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");

Member Avatar for luweegee
0
157
Member Avatar for puvi

change the code in html to send tom\ hanks that should do the job i think

Member Avatar for puvi
0
125

The End.