User Profile
Collapse
Profile Sidebar
Collapse
dianagaby2002
Last Activity: Jan 2 '14, 05:40 PM
Joined: Jul 13 '12
Location:
-
In which programming language? -
I úsually choose books with names like C/C++/PHP/Java/... bible, Teach yourself C/C++/PHP/Java/... , C/C++/PHP/Java/... by example. And there are good videos on Youtube too. My favourite is thenewboston channel. You best learn by example. School gives much theory.Leave a comment:
-
Check with javascript/php/... to validate the form.
PHP: Create the form in html/php file (The writing of the form differs for each page: in php you write the form just like in html but put it in an echo like echo"") The JSFunction is in header section. If it returns true, form will be submitted. (You can make it return true...Code:<form action='proces_file.php? method='post' onSubmit="JSFunction()"> ... </form>
Leave a comment:
-
divs.html
...Code:<body> <div id="container"> <div id="content1"> Content 1 </div> <div id="content2"> Content 2 <p class="cont2"> kdsajfkldjf hjas hh. agiw b whnsjndef wefd dsgds gsagb ahfe jjj ajhoijf awjwkndnsnjka<br> nhjksd hsa nhaso hjas hh agi yagb
Leave a comment:
-
Code:a:active { background-color:orange; }Code:a:active { color:orange; }Leave a comment:
-
-
Div alignment
I have 3 DIVs:
1st-> left,
2nd-> right side of 1 but a part of it is under 1(upper-left corner),
3rd-> right side of 2, like a menu.
So 1st is the smallest and covers upper-left corner of 2nd.
I can't set the "menu"-like DIV(3rd DIV) on the left of the 1st and 2: like 1,2,3.
This is my code:
...Code:<div id="container" style="width:1200px">
-
Sending multiple values from one php page to another?
I have proces.php which will send the values into welcome.php.
Initially they areAnd they increment under a certain condition so some of them will be 0 some 1.Code:$r1=0; $r2=0; $r3=0;...
I cannot retrieve them in welcome.php except the first one.
proces.php
___________
...Code:header("Location:welcome.php?scor=$score&fid=$form_id&r1=$r1&r2=$r2&r3= $r3&r4 -
Conversions in C
I don't understand these conversions in C I have for homework. Could you explain me or give some links?
1)Given int n= 200, m= 200;
long r;
And supposing sizeof(int) is 2, what is the result of: r = n*m; ?
Answer is -25536
Why?
2)Given static int i, t[10]; i and t are not explicit initialised
Which will be the result of the expression:
(i=0) || (t[i]...
No activity results to display
Show More
Leave a comment: