1,741 Posted Topics

Member Avatar for mrcniceguy
Member Avatar for twelvetwelve

You need to put mysql_query inside the foreach loop as well.. [code=php] $values = $_GET['tta']; echo "size of array = ".sizeof($values)."<br>"; foreach ($values as $question_equation) { $sql = "INSERT INTO venn (question_equation) VALUES ('$question_equation') "; if (@mysql_query($sql)) { echo '<p>questions added</p>'; } else { echo '<p>ERROR questions not added' . …

Member Avatar for nav33n
0
131
Member Avatar for perplexeds

Welcome to Daniweb ! [quote]how do I post in the forums, I don't see a post button in hardware?[/quote] Just like you posted here ! :-/

Member Avatar for Serunson
0
79
Member Avatar for annajee
Member Avatar for Drezta
Member Avatar for Jmafia

Welcome to Daniweb Rodney :) I am glad you have some nice stuff in your brains! I hope you will share it with us ;) ! Cheers, Naveen

Member Avatar for Serunson
0
51
Member Avatar for 3con

Welcome to Daniweb Dharmender Khosla ! But you aren't supposed to post the url of your website! (You can have it in your signature though!)..

Member Avatar for Serunson
0
21
Member Avatar for acardiac
Member Avatar for swamp56
Member Avatar for mahmed27
Member Avatar for dottomm

[quote]$teampassword=getvar("teampassword")[/quote] Missing ; at the end. Didn't you get any parse error ? Hmm! And [quote] select team_ID,teamname,teampassword from teams where teamemail='{$email}'[/quote] shouldn't that be [code=php] select team_ID,teamname,teampassword from teams where teamemail='$email' [/code] And also here, [quote]<input type='text' name='email' value='{$email}'>[/quote] Why is value='{$email'} ? When you query the table, it …

Member Avatar for dottomm
0
1K
Member Avatar for msdmds
Member Avatar for pukkalol

Get a good editor.Find all the matching braces and check if all the open braces are closed properly.

Member Avatar for Nick Evan
0
279
Member Avatar for mgn2683

When the user registers, set the value for activation column as 0 (for that user) in the user table. When the user activates, update activation column to 1 for that user. Then, when the user tries to log in, while checking for username and password, also check if activation=1. If …

Member Avatar for nav33n
0
105
Member Avatar for twelvetwelve

[quote] $result = mysql_query("SELECT * FROM '$quiz_name'"); $num_rows = mysql_num_rows([b]$result12[/b]);[/quote] $result12 should be $result.

Member Avatar for nav33n
0
1K
Member Avatar for aran87

In the next page, if you do, print_r($_POST['hello']); you will see ONLY the list of checkboxes which were checked..

Member Avatar for aran87
0
96
Member Avatar for ratnasatish

From "What is php" to the basics of php, see [url=http://www.w3schools.com/php/default.asp] w3schools. [/url]

Member Avatar for Lorand24
0
128
Member Avatar for kevin wood

You can use php's [url=http://nl2.php.net/manual/en/function.mail.php] mail [/url] function..

Member Avatar for kevin wood
0
272
Member Avatar for Venom Rush

You can actually have 2 submit buttons in a form. Eg. [code=php] <?php if($_POST['submit1']) { echo "Submit1 pressed! Add/update the records"; } if($_POST['submit2']){ echo "Submit2 was pressed ! Now delete the records !"; } ?> <html> <head> <script type='text/javascript'> function confirmdel() { var val = confirm("Do you really want to …

Member Avatar for nav33n
0
171
Member Avatar for bstylez
Member Avatar for El Duke
Member Avatar for Nobert
Member Avatar for navinlearns
Member Avatar for lal_rajapakshe
Member Avatar for Dani

Everything looks good. But why do I get a horizontal scroll when I scroll over Coffee house ? Also, the menu(for coffee house) is outside the visible area(the last option, Daniweb Community feedback is partially visible). Btw, my resolution is 1024*768.

Member Avatar for MidiMagic
0
894
Member Avatar for aclearchannel
Member Avatar for ethio_kings
Member Avatar for zandiago
0
35
Member Avatar for reddaisy
Member Avatar for Defcon106
Member Avatar for Latent12
Member Avatar for StephenM
Member Avatar for quangnx

Welcome to Daniweb! What does your thread title "ohayogozaimasu" mean ?

Member Avatar for Serunson
0
114
Member Avatar for bbradley
Member Avatar for Serunson
0
74
Member Avatar for ODCHOI

Welcome back ! :) Please post your question in [url=http://www.daniweb.com/forums/forum143.html] html and css [/url] forum !

Member Avatar for Serunson
0
156
Member Avatar for japes
Member Avatar for imahussey

Hello ! Welcome to Daniweb ! [quote]Looks like an interesting place to get info when I break my computers! Cause that's what I'm good at, breaking not really fixing them[/quote] Lol !

Member Avatar for Serunson
0
40
Member Avatar for jimesten
Member Avatar for dv8anly
Member Avatar for npatel0317

[quote]I searched google for days and I couldn't find anything that works for me.[/quote] Did you search in php.net ?

Member Avatar for peter_budo
0
73
Member Avatar for niladri.user

[quote] while($row==mysql_fetch_array($res)); [/quote] Remove the ; at the end. Its $row= and not $row==. [quote]also send me the exact code to fetch a table from a database in a table format in a web page!!!!! [/quote] You need to figure that out yourself.. Check the example here. [url]http://www.w3schools.com/php/php_mysql_select.asp[/url]

Member Avatar for niladri.user
0
75
Member Avatar for drastic

Notices are not errors. You can get rid of notices by initializing a variable before using it.

Member Avatar for drastic
0
300
Member Avatar for justinmyoung

No..that isn't the problem.. The problem is missing ; in here..[quote] echo "<tr>"[/quote]

Member Avatar for effu
0
1K
Member Avatar for Byrdc
Member Avatar for Jens
Member Avatar for nilu_99773
Member Avatar for Meth0d
Member Avatar for Zlim
Member Avatar for Tony_Gee
Member Avatar for sandip250382
Member Avatar for Tring

The End.