1,257 Posted Topics
Re: http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL | |
Re: remove , before ); CREATE TABLE Film ( film_code number(5)PRIMARY KEY, title varchar2 (200)FOREIGN KEY, running_time number(3,2) NOT NULL, classification varchar2(200) ); | |
Re: The problem is supervisor id 454-56-768 YOu must insert that first I have changed sequence of insert INSERT INTO Employee_T (EmployeeID, EmployeeFirstName,EmployeeLastName, EmployeeAddress, EmployeeCity, EmployeeState, EmployeeZip, EmployeeDateHired, EmployeeBirthDate, EmployeeSupervisorID) VALUES('454-56-768','Robert','Lewis','17834 Deerfield Ln','Nashville','CA',NULL,'01/Jan/95',NULL,NULL); INSERT INTO Employee_T (EmployeeID, EmployeeFirstName,EmployeeLastName, EmployeeAddress, EmployeeCity, EmployeeState, EmployeeZip, EmployeeDateHired, EmployeeBirthDate, EmployeeSupervisorID) VALUES('123-44-345','Jim','Jason','2134 Hilltop Rd',NULL,'CA',NULL,'12/Jun/99',NULL,'454-56-768'); INSERT INTO Employee_T … | |
Re: In my view alone html is not capable of doing so. What is your server side language? | |
Re: what u have is just first part of code. User page. Now you need handler page which will take input from about page and should send mail . your page in html ( i have added mail handler php page in form tag and added button code in bottom) <form … | |
Re: if you can buy, try phpmaker , I think it gives what u want. | |
Re: select customer_id , max(case when questions='FirstName' then answer else null end) FirstName , max(case when questions='LastName' then answer else null end) LastName , max(case when questions='OrgName' then answer else null end) OrgName , max(case when questions='Country' then answer else null end) Country , max(case when questions='ZipCode' then answer else null … | |
Re: I do not convert it to <br>, because when user again try to edit html code, It will show <br> in the content itself. So rather I used to display content when its not in textarea, using nl2br function. <?php $content ="your saved data";?> <textarea > <?php echo $content; </textarea> … | |
Re: when your condition is based on function result, you need to use having keyword select grpcol1, grpcol2, count(c3.id) from table1 group by grpcol1, grpcol2 having count(c3.id)>1 | |
Re: You need to write your own code for retriveing from mysql. LIke you do to format data to html. Same way you fetch data and use tcpdf funtions to format your pdf file. tcpdf is advance and If you look at tcpdf examples, you will find almost all kind of … | |
Re: This mostly happnes when query do not run I guess you $agentid is not set properly print query on browser copy it and run into phpmyadmin, and check and solver any error there $strSQL = "SELECT custreg.mobno1, slabpay.ac_no, slabpay.cust_name, slabpay.install_no, GROUP_CONCAT(`slabpay.install_amt` ORDER BY `slabpay.install_no` SEPARATOR ' | ') as installamt … | |
Re: $sql="INSERT INTO admin_actions (action_done, date_accomplished, id_number, complaint_id) SELECT 'done', current_date(),id_number, complaint_id FROM complaints WHERE group_id=1"; | |
Re: What is format of file how data is placed You have to user rows and columns with <table> <tr> <td> table tags | |
I want to integrate local seach engine to my website. Which open source tool is best for it, I want to search pdf files also. Will google custom search do this job. | |
Re: if its single file then when you store it, keep one name say cells.csv You should updates with same name and read with same name. ![]() | |
Re: In begining of static page, you must put same authentication code that you would be having for other dynamic pages. | |
Re: 1) You need to write classname after keyword class 2) i removed extra comma after word "phpfil" class myclassname { function prisijungti() { $jungtis = @mysql_connect("localhost", "dancr_phpfilm", "phpfil"); | |
Re: I am posting how i handled it, you can change as your need First page code, I use number instead of text in file name <input type=file name="0" class="input" > <br> <input type=file name="1" class="input" > <br> <input type=file name="2" class="input" > <br> <input type=file name="3" class="input" > <br> <input … | |
Re: both will give result but user hyphen 1) '2013-12-01' 2) as yor column is timestamp, it will only give records which are 2013-12-31 00:00:00 any value more then that will not include for same day Following query should work SELECT * FROM a WHERE created_on >= '2013-12-01' AND created_on < … | |
Re: You did not mention what is the exact problem you are facing. | |
Re: default_record_library.php upload above file as zip I dont see any error in code posted by you | |
![]() | Re: 2 ways of doing so, One when user write in search box, and click on search button , u can post search text to process page. and display search reslut in same or new page. this will load ur whole page Another way is to use ajax, that u can … ![]() |
Re: that happned to me when file is more then the permitted size in php apache settings, even it do not show an warning, | |
Re: You need very high resolution picuture, you you can use small pattern image multiple times in tile format But if you use high resoulution image, it will take too much time to load | |
Re: you try to view source after you load your page, see output of line 43 and 81 of your code, whether it is properly populated or not categories: [<?php echo join($data1, "','"); ?>], data: ['<?php echo join($data2, "','"); ?>'], | |
Re: http://stackoverflow.com/questions/6956998/how-to-save-checkbox-value-to-mysql-database | |
Re: I assume $sourcearr is the array you shown above, your result array is $destarr $rowindex=-1; foreach($sourcearr as $key => $valuearr) { if ($key%4==0) $rowindex++; $value=current($valuearr); $destarr[$rowindex][key($valuearr)]=$value; } echo "<pre>"; print_r($destarr); echo "</pre>"; | |
Re: You can decide style in query itself , by adding one more column. This column value you can use to decide style in html query= "(SELECT 'arc_style' record_style, judul,judul_seo,isi,id_kategori,id_sub, id_news as type FROM arc_news WHERE (judul LIKE '%".$search_string."%' OR isi LIKE '%".$search_string."%') and status='aktif') UNION (SELECT 'tutor_style' record_style,judul,judul_seo,isi,image,id_kattutor, id_tutor as … | |
Re: Dani, I guess update queries will be in batch mode and not concurrent. So to get concurrent result, I suggest to write insert/update/delete database trigger on base table to keep summary table upto date | |
Re: 1) I think when you upload, store its mimetype too separtely to identify its file type keep format standard (file table) 2) so while saving file on server and keeping its record in table save mime type also with other information. 3) then keep one table (2 columns) mimtype and … | |
Re: you forgot to increment cout, add line after number 15, print_r($array_roll[$cout]." "); $cout++ | |
Re: Add vertical-align :text-top to img element <img src="images/detail_quotegreenclosed.jpg" width="30" height="30" border="0" alt="Continuing Day Treatment Program" style="vertical-align:text-top;"> | |
Re: I will go for dropdown instead of radio button <script lang='javascript'> function checkblank(drpid) { if(document.getElementById(drpid).value=='') { alert('Select preference'); document.getElementById(drpid).focus(); return false; } return true; } function checkorder() { if (!checkblank('mum')) return false; if (!checkblank('dad')) return false; if (!checkblank('doc')) return false; if (!checkblank('sib')) return false; if(parseInt(document.getElementById('mum').value)+ parseInt(document.getElementById('dad').value)+parseInt(document.getElementById('doc').value)+parseInt(document.getElementById('sib').value)!=10) { alert('Select unique preference'); … | |
Re: probabley your $_GET['movie_id'] is blank in top of page add few lines to see are u getting proper values or not on ur page echo "<pre>"; print_r($_GET); echo "</pre>"; You may also remove parenthesis around columns | |
Re: line no 51 testing1.php should look like following <option value=<?php echo $row['No'] ?> > | |
Re: 1) You can write php script which will send reminder according to current date, on which it runs. 2) schedule that script in windows or create cron job in linux to run it on last day of the month 3) you must already have one mail server configured to handle … ![]() | |
Re: You need one more parent table with 2 cells <table border=0> <tr> <td> <center><p> <table border="1" rules="all" cellspacing="6" cellpadding="6" style="background-color:AntiqueWhite"> <tr> <td colspan="2"><b>HOUSE</b></td> <td colspan="2"><b>PERSONAL</b></td> <td colspan="2"><b>TRANPORT</b></td> </tr> <tr> <td>Rent/Mortgage</td> <td><?php if(@$house) {echo "RM ".@$results['rent'];} ?></td> <td>Charity</td> <td><?php if(@$personal) {echo "RM ".@$query['charity'];} ?></td> <td>Public Transport</td> <td><?php if(@$transport) {echo "RM ".@$info['public'];} … | |
Re: $(document).ready(function(radioname) { $("div.desc").hide(); $("input[name$='"+radioname+"']").change(function() { $("div.desc").hide(); $("#" + this.value).show(); }).filter(function(){ return this.checked; }).change(); }); | |
Re: what exact problem u are facing and in which page, I mean do u receive any error, or what abnormal things is happing or what is not happening, Please tell preciely | |
Re: you should not post yoru pasword like this | |
Re: add one more parameter to following function call $pdf->Output("myfile.pdf",'D'); THIS WILL AUTOMATICALLY ASK USER TO SAVE/OPEN | |
Re: there is nothing specific about language you use, only you have to loop and echo your data at proper placec using php tags http://blueflame-software.com/blog/using-highcharts-with-php-and-mysql/ | |
Re: it happned to me , when i refresh page, as many times i refresh, it inserts, so I used cookie to stop this duplicate inserts 1) on button submit i set cookie variable to 0, 2) on proccess page code, i check if cookie is =0 then allow insert else … | |
Re: what is name of ur html file and handler file? | |
Re: <img src='your_image.jpg' width=20px height 30px> ![]() | |
Re: try to get jquery. append function, it wil add to exiting content |
The End.