No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
Hi guys, could you please check this code for me. basically displaying data from two table. i get error massage like... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\dis_take.php on line 91 [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } … | |
could anyone provide code for me how to search data using column name. example: if i have 2 columns called [B]NAME,ID[/B] then i select [B]NAME or ID[/B] and enter the keyword to search. would greatly appreciate your help! | |
hi guys, i am struggling with cross tab query in mysql. if you have any idea could you please help me? basically i have data into the table like... cid | Q# | marks c1 | 1| 50 c1 | 2 | 50 c1 | 3 | 50 but i … | |
hi guys, I would greatly appreciate it if you could help me with this code I have some tables called, Student (SID,SNAME) -> I have got data into it Course(CID,CNAME) -> I have got data into it Take(SID,CID) -> I have got data into it quesion (CID,QNO,MRKS)-> I have got … | |
Hi guys, i have to create a drop-down menu for database data, when i select one data from that then next drop-down menu has to create automatically with related data of the 1st selection. could anyone please give me some help to do this? NB: i have 3 tables student(sid, … | |
Hi guys, basically here pull out the data from database then creating taxt field automatically and submit into anther table. everything works fine but data not inserting in to the table. could you guys check my code please? [CODE]<?php $con = mysql_connect("localhost","root",""); mysql_select_db("uni", $con)or trigger_error('MySQL error: ' . mysql_error()); ?> … | |
basically this is a search function.(i have to search the data from database) [CODE]<form method="post" action="search.php" name="submitted" value ="true" /> <label>TYPE: <select name="field"> <option value = "sid">StudentID</option> <option value = "sname">StudentName</option> </select> </label> <label>WORD: <input type="text" name="searchword" /> </label> <input type="submit" /> </form> <?php if (isset($_POST['submitted'])){ $con = mysql_connect("localhost","root",""); mysql_select_db("uni", … | |
Hi guys, i have a big problem on these creation. basically if i enter the No of Question then it has to be created No of cells for entering marks. Eg: No of question = 4 then [B]quesNO[/B]-------[B]Marks[/B] 1------------------cell 2------------------cell 3------------------cell 4------------------cell if anyone of you could help me with … |
The End.