Posts
 
Reputation
Joined
Last Seen
Ranked #146
Strength to Increase Rep
+15
Strength to Decrease Rep
-3
93% Quality Score
Upvotes Received
269
Posts with Upvotes
244
Upvoting Members
149
Downvotes Received
17
Posts with Downvotes
16
Downvoting Members
17
65 Commented Posts
19 Endorsements
Ranked #75
Ranked #46
~661.91K People Reached
Interests
Data transformation and migration
PC Specs
LAMP, Msaccess, Mssql server. VB.NET
Favorite Tags
php x 1K
mysql x 484
mssql x 119
sql x 112
Member Avatar for David_140

run this query in backend phpmyadmin or any tool you have directly. You may find error there, solve and fix your query in your code. SELECT * FROM tb_pedido Pp INNER JOIN tb_cliente C ON Pp.codCliente = C.codCliente INNER JOIN tb_funcionario F ON Pp.codFuncionario = F.codFuncionario INNER JOIN tb_produto P …

Member Avatar for Rose_17
0
499
Member Avatar for jyotiu

You can execute following query to determine whether new reservation for any room is confilicting with existing reservation for that room. [code] select * from reservtable where '{$fromdate}' <= check_out_date and '{$todate}'>= check_out_date and room='{$roomno}' [/code]

Member Avatar for Ahmad_74
0
2K
Member Avatar for stokie-rich
Member Avatar for wackyal

this is simple php email checker, use this to get your task completed function checkEmail($email) { if (!preg_match("/^([a-zA-Z0-9\._-])+([a-zA-Z0-9\._-] )*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/" , $email)) { return false; } return true; }

Member Avatar for Dani
0
3K
Member Avatar for amanu092

You can look joomla,wordpress, magento(inventory/store) demos on their sites for crm. I am not sure about ERP.

Member Avatar for Rajesh_48
0
802
Member Avatar for larry29936

1. What you are showing seems to be file upload part. 2. File content function not visible in your script. i.e. move_uploaded_file() to be moved to your folder. 3. Href link to download file can be rendered in html emebded with php loop of file table. echo "<a href='http:domain/contentfolder/{$filename}' target='_blank'>download …

Member Avatar for larry29936
0
168
Member Avatar for Greg_11

1 use bootstrap css or any other you know for row hover https://www.w3schools.com/bootstrap/bootstrap_tables.asp 2 put your table under < form > tag Add one more th/td in header and whole loop. .. . . <th width="5">select row</th> <th width="5">ID</th> . . While.. .. . . echo '<td><input type=radio name =selrow …

Member Avatar for JeanMilburn
1
358
Member Avatar for larry29936

You may try following UPDATE download LEFT JOIN lookup ON download.ip_address between lookup.start_ip AND lookup.end_ip SET dowload.ref = lookup.id ;

Member Avatar for pritaeas
0
272
Member Avatar for akgreen

This kind of solution is useful where php mysql application is build for internal use like in intranet enviroment. Some time operator at reception need to print receipts and bills directly for the customer, there this will help

Member Avatar for Yogesh_22
7
23K
Member Avatar for larry29936

Dear larry You need not to have two triggers. Only before insert trigger is fine.

Member Avatar for larry29936
1
251
Member Avatar for noelpasia

Visit following post and go through all comments, I think you will find proper solution [url]http://www.daniweb.com/web-development/php/threads/366629[/url]

Member Avatar for FOURATI
0
3K
Member Avatar for SimonIoa

You can use group_concat funtion SELECT col1_id, col1_name, GROUP_CONCAT(DISTINCT col2 ORDER BY col2 SEPARATOR ';') FROM table GROUP BY col1_id, col1_name http://www.mysqltutorial.org/mysql-group_concat/

Member Avatar for jamesdave
0
3K
Member Avatar for VenusCrystal
Member Avatar for Gurjit_2

problem in line number 12 of first code block $controller->index(); change above to $controller->Index();

Member Avatar for Gurjit_2
0
886
Member Avatar for janicemurby

getlisted function must return array either first or second you passing, or anything you process convert it to array and return it in getlisted

Member Avatar for ryantroop
0
711
Member Avatar for Anthony_22

specify column names as shown in following query. Make sure you spell column right as its in your table. There are more columns in your table then in your $variable list (line 41). $sql = "INSERT INTO `User` (firstname,lastname, addresslin1, addresslin2, postcode,city, email,password,dttime, verificationcode, status)". " values ". "('$FirstName', '$LastName', …

Member Avatar for urtrivedi
0
541
Member Avatar for Med_2

When you add any element with same name again the way if you have only set of elements then code is like `document.formname.elements['elename'].value` if you have more than one set of elements with same names document.formname.elements['elename'][0].value document.formname.elements['elename'][1].value

Member Avatar for urtrivedi
0
279
Member Avatar for Prosatanos

No need to do loops now Listagg function may help you https://docs.oracle.com/cloud/latest/db112/SQLRF/functions089.htm#SQLRF30030 You can convert multiple records to single row as per your wish and with better performance

Member Avatar for urtrivedi
0
391
Member Avatar for mubashir_2

I assume you set session variable USERNAME OR USERID, when user logins So same can be used as path for your folder when he upolads anything $uploadpath="/webfolder/docfolder/{$_SESSION['USERID']}";

Member Avatar for urtrivedi
0
158
Member Avatar for Ritesh_8

You have to use only one fpdf object for whole process Loop through alll payslip record you have already written code for one payslip, so put that code in your above loop when next record start add page to your fpdf object output your fpdf object after loop ends javascript …

Member Avatar for urtrivedi
0
7K
Member Avatar for cainam29

You can use browser cookie for same. 1) When page is loaded first set cookie say 'sendmail'to 0 in bottom of page in javascript. 2) on click of button to send mail set cookiet in javascript 'sendmail'to 1, call php mail handler. 3) When php code is executed check cookie …

Member Avatar for urtrivedi
0
1K
Member Avatar for AntonyRayan

I used following excel plugin, its very convenient https://www.mysql.com/why-mysql/windows/excel/

Member Avatar for urtrivedi
0
297
Member Avatar for Cody_4

Remove curly braces around $_server variable, its used when you want to embed variable in string. echo "<form action ='<?=$_SERVER[PHP_SELF]?>' method = 'POST'/>"; echo "<input type='submit' name='off' value='Turn OFF Grow Light'/>"; echo "</form>";

Member Avatar for Cody_4
0
395
Member Avatar for AntonyRayan

If you can change preference of file type, from excel to csv then after uploading csv file to server, you can use "load data infile" available in mysql http://dev.mysql.com/doc/refman/5.7/en/load-data.html

Member Avatar for urtrivedi
0
186
Member Avatar for James_43

You can put one more hidden variable in your form. Like type of post <input type=hidden name=method id=method value=''> before submitting set appropriate value whether method is post or ajax, same can be captured in your php handler.

Member Avatar for jacks009
0
232
Member Avatar for amith_ami

change line number 13 with follwing line, comment your if condtion if (in_array($loc_con1[$j], $loc_con))

Member Avatar for rayearth_1
0
10K
Member Avatar for mblan180131

I think wriring html code within script is creating problem, keeep document.write fucntion comented or write them with with normal/standard html

Member Avatar for mblan180131
0
222
Member Avatar for geoamins2

write two php files, one for showing all other data file 1.php 1)fetch data from mysql with primary key 2) show all columns 3) <img src='file2.php?imgid=currid'> file2.php //it will contain code you have written to show image in your post above, but it will use one get parameter to load …

Member Avatar for Pallavi_1
0
1K
Member Avatar for jelly46
Member Avatar for urtrivedi
0
200
Member Avatar for JOSheaIV