- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
25 Posted Topics
Hello, I googled about this problem and there are some suggestion to handle this. i have tried but none solve my problem. Errors are shown in line 3, 4 an 5 which code is like below: [CODE] ob_start(); //stop caching header("Pragma: no-cache"); header("Cache: no-cache"); session_start(); [/CODE] can anyone help me … | |
Hello everyone, I used session and the id of the selected checkbox are passed to another page currently. now I do another query based on the ID of the selected checkbox. I want to display the fields from the selected result in columns like this [url]http://www.bluenile.co.uk/diamond_co...OMPARISON_STEP[/url] I did this [CODE] … | |
Hi everybody, I would like to have functionalities & interface like this [url]http://www.bluenile.co.uk/diamond-search?filter_id=0&track=head[/url]. Currently, the search result and checkbox are presented as in the above example. However, I am not sure of where should we keep the checked value to have something like in the bottom. ( all selected record … | |
Hi, anyone can help me with getting the check box value? this is my code. Thank you [CODE]<HEAD> <SCRIPT LANGUAGE="<strong class="highlight">JavaScript</strong>"> function getSelectedCheckbox(buttonGroup) { // Go through all the check boxes. return an array of all the ones // that are selected (their position numbers). if no boxes were checked, … ![]() | |
hi everybody, I am doing pagination. if I set the limit to 5 and the no of result is 30, then 6 pages is shown as the overall page). however, only the first 5 results is shown. How should I change the code? many thanks [CODE] <?php /* call this … | |
Hello, How can we save a page to another drives/devices I did use a form in my page- result.php- In result.php I put one button for save As. all of the elements are disabled in this page. and I hope that the details of that page will be copied to … ![]() | |
Hi, I have to do this query: select all from a table, say lesson where 'the variable inserted' is equal to any column in table students and students. verified= yes. Can anyone help me on this. I have programmed as the following, however it just displays all column without doing … | |
Hi, Is it possible to upload a file that contains some data and directly save the data in specific fields as in database using php?. this is important as the data retrieved according to their field name. Thank you. | |
Dear All. 1. I need to select all related information from a table (lesson) that fulfill certain conditions. 2. the output (some of the fields from lesson table)are then need to be referred to several lookup tables.(a table for each field) 3. the lookup tables have three main fields, which … | |
Hello, Anyone know how to solve this problem? I have several tables. 1. the main table namely lesson contains several fields that used for searching. 2. weight is assigned by users for each keyword for searching purpose. 3. users' keyword will be compared with the record in the database. each … | |
Hi everybody, here is my update query ..there is no error but the record is not updated. anybody know of what should I edit? Many thanks [code=php] mysql_query("UPDATE lesson SET(`subject`= '{$ins_subject}',`year`='{$ins_year}',`noofstudents`='{$ins_noofstudents}', `minutes`='{$ins_minutes}',`ability`='{$ins_ability}',`learningArea`='{$ins_learningArea}',`objectives`='{$ins_objectives}', `LO`='{$ins_LO}',`skills`='{$ins_skills}',`prerequisite`='{$ins_prerequisite}',`resources`='{$ins_resources}',`introduction`='{$ins_introduction}', `activity`='{$ins_activity}',`step2`='{$ins_step2}',`step3`='{$ins_step3}',`step4`='{$ins_step4}',`assessment`='{$ins_assessment}', `reflection`='{$ins_reflection}',`closure`='{$ins_closure}',`extension`='{$ins_extension}',`author`='{$ins_author}') WHERE lessonID='$id'") ; [/code] | |
Hi, anybody know on how to create table like this- [URL="http://mycbr-project.net/tableEditor.html"]table editor[/URL]- in MySQL? I need to retrieve the value & compare it with the query value ( I am doing this using php). help is really appreciated | |
Hello, I have copied this code but I do not really understand what this code is about. . :?: When I put this into my code to expand certain terms, it shows result but it just shows the last record in my table..not taking the variable I posted. Can anyone … | |
I have error on this line.. what should I change..thank you [code=php] mysql_query("INSERT INTO lesson (subject,year,learningArea,objectives,ability) VALUES ('<?php echo $onrow["subject"]', '<?php echo $onrow["year"]', '<?php echo $onrow["learningArea"]', '<?php echo $onrow["objectives"]', '<?php echo $onrow["ability"]' ") or die(mysql_error());[/code] | |
Hi. How could we unlock the locked textbox whenever users click a button -say ' customise button'. Then users are able to customise the boxes and save it as a set of new data with new ID? Help is much appreciated. | |
Hello, anybody can suggest me on how to do exact match in php ( for search purpose). From my reading I understand that we need to use " ". What is the correct syntax for this? Is preg-match important here. Thank you. | |
Hello everybody, anyone can help me with this problem? instead of just display the child (in array)..echo $Valuechild[$i]."; "; (see the below code)..I would like to make a link from $Valuechild[$i] to a details of that variable.. [code=php]<TEXTAREA NAME="comments3" style='width:50%' rows='4'> <?php for ($i =0; $i < $ValuenumtableChildren; $i++) { … | |
Hello everyone, Does anyone knows any query expansion techniques that can be implemented using php other than hierarchical technique. i.e: facet , analysis, thesaurus. By implementing query expansion, the users are not only presented with the keyword they inserted, but some related words to the keyword. Thank you | |
Hi..is this a correct SQL statement to display details of a record from table and column that is variable [code=PHP]$query= (SELECT * FROM $_GET['$tablename'] . "' WHERE id = '" . $_GET[' $row2[$cols'] . "' ;[/code] the id and table were passes correctly on the URL but the error is … | |
Hi, I am trying to apply ranking to the output of my search result based on the relevance of the searchterm & record in database. when I run the below code..there was a query error [code=php]$searchterm=$db->escapeString($_GET['searchterm']); $result = $db->query("SELECT subject, learningArea, ability, MATCH(subject, learningArea, ability) AGAINST('$searchterm') AS relevance FROM lesson … | |
Hello everybody, how do I rank mysql search results by column weighting? thanks for your input. | |
Hello, Is there any way to list the search result based on the relevance of that record vs keywords, not depending on the sequence of that record in database? Thank you | |
Re: Hi Nav, I have modified this coding to suit my problem. It works when I specify the column..however I would like to search from all columns in all tables. So, do i need to list down all the columns or is there any other method to so ? many thanks. | |
Hi, Anyone can help me?..must be easy for most of you. instead of just displaying data from the database in a table, i want to make it varies..some in textbox, some in text area. this is my code: [code=php]<?php $query= mysql_query(" SELECT * FROM office WHERE officeID='" . $_GET['officeID'] . … | |
Hi all.. really need a help. this is looks easy peasy but I can't solve it :( I want to make a link from lesson ID to a details of the selected lesson ID. [icode]<td> "<a href='details.php?lessonID=". $lessonID ."'> </a>" </td>[/icode] when I run the coding the following error appear … |
The End.