1,257 Posted Topics

Member Avatar for lord0o
Member Avatar for urtrivedi
0
403
Member Avatar for C

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) );

Member Avatar for C
0
1K
Member Avatar for munchlaxxx

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for wealthdiva

In my view alone html is not capable of doing so. What is your server side language?

Member Avatar for wealthdiva
0
257
Member Avatar for zobadof

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 …

Member Avatar for zobadof
0
156
Member Avatar for CarterLangley
Member Avatar for CarterLangley
0
183
Member Avatar for visweswaran28

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 …

Member Avatar for urtrivedi
0
170
Member Avatar for general2012

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> …

Member Avatar for Troy III
0
352
Member Avatar for jacob21

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

Member Avatar for urtrivedi
0
99
Member Avatar for E J
Member Avatar for ashafaaiz

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 …

Member Avatar for agent21
0
668
Member Avatar for blueguy777

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 …

Member Avatar for urtrivedi
0
127
Member Avatar for ms061210

$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";

Member Avatar for urtrivedi
0
292
Member Avatar for hemalatha.nambisan
Member Avatar for urtrivedi
0
175
Member Avatar for urtrivedi

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.

Member Avatar for Manish02
0
218
Member Avatar for PriteshP23

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.

Member Avatar for diafol
0
1K
Member Avatar for itsnauman
Member Avatar for kavitha N

In begining of static page, you must put same authentication code that you would be having for other dynamic pages.

Member Avatar for JorgeM
0
161
Member Avatar for marin cristina

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");

Member Avatar for marin cristina
0
290
Member Avatar for marifard

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 …

Member Avatar for nauticalmac
0
367
Member Avatar for jacob21

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 < …

Member Avatar for nauticalmac
0
122
Member Avatar for nidhinmohanan
Member Avatar for judah.raine
Member Avatar for Dani
0
270
Member Avatar for leadcrumb

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 …

Member Avatar for leadcrumb
0
395
Member Avatar for Iikeloa

that happned to me when file is more then the permitted size in php apache settings, even it do not show an warning,

Member Avatar for Iikeloa
0
204
Member Avatar for suavedesign

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

Member Avatar for urtrivedi
0
107
Member Avatar for ria.yaoto

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, "','"); ?>'],

Member Avatar for urtrivedi
0
544
Member Avatar for dipika.khona
Member Avatar for urtrivedi
0
45
Member Avatar for Amr87

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>";

Member Avatar for Amr87
0
147
Member Avatar for Linddha

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 …

Member Avatar for urtrivedi
0
136
Member Avatar for logicslab
Member Avatar for Dani

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

Member Avatar for Dani
0
384
Member Avatar for geneh23

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 …

Member Avatar for geneh23
0
331
Member Avatar for ImZick

In one query its not possible You have to create 2 connections , one for mysql and another for mssql and loop through it

Member Avatar for urtrivedi
0
470
Member Avatar for vishalonne

you forgot to increment cout, add line after number 15, print_r($array_roll[$cout]." "); $cout++

Member Avatar for urtrivedi
0
452
Member Avatar for suavedesign

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;">

Member Avatar for JorgeM
0
177
Member Avatar for mmcdonald

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'); …

Member Avatar for pritaeas
0
225
Member Avatar for EmilyJohnson

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

Member Avatar for EmilyJohnson
0
301
Member Avatar for bestnone

line no 51 testing1.php should look like following <option value=<?php echo $row['No'] ?> >

Member Avatar for bestnone
0
132
Member Avatar for nadiam

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 …

Member Avatar for diafol
0
170
Member Avatar for nadiam

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'];} …

Member Avatar for nadiam
0
177
Member Avatar for hallianonline

$(document).ready(function(radioname) { $("div.desc").hide(); $("input[name$='"+radioname+"']").change(function() { $("div.desc").hide(); $("#" + this.value).show(); }).filter(function(){ return this.checked; }).change(); });

Member Avatar for hallianonline
0
158
Member Avatar for adebayo.sas

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

Member Avatar for adebayo.sas
0
627
Member Avatar for adebayo.sas
Member Avatar for puvi

add one more parameter to following function call $pdf->Output("myfile.pdf",'D'); THIS WILL AUTOMATICALLY ASK USER TO SAVE/OPEN

Member Avatar for Laura_5
0
4K
Member Avatar for Lilantha

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/

Member Avatar for Lilantha
0
128
Member Avatar for jay.barnes

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 …

Member Avatar for jay.barnes
0
313
Member Avatar for mmcdonald
Member Avatar for Dana A.
Member Avatar for imchivaa
Member Avatar for imchivaa
0
316

The End.