Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
43% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
1 Commented Post
0 Endorsements
Ranked #4K
~81.7K People Reached
Favorite Tags

173 Posted Topics

Member Avatar for jacob21

Failed to connect smtp server,please check your SMTP information Error message:Socket error #10049 can not assign requested address I am getting this error. Need help

Member Avatar for Roni_7
0
231
Member Avatar for abhi10kumar
Member Avatar for jacob21

Hi, below code is extracing title,keywords,descrption,links. Need suggestions to find out IP address, Load Time, HTTP Status <?php function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $data = curl_exec($ch); curl_close($ch); return $data; } $html = file_get_contents_curl("http://servicesonclick.com/"); //parsing begins here: $doc …

Member Avatar for Dinesh Kumar_1
0
896
Member Avatar for fobos
Member Avatar for jacob21

Chats table maintain chat history b/w users and agent.Type(0,1,2) indicates start and end point of chat by user/agent. Please suggest how we cam give each chat a unique session For Example Chat b/w company_id(5969) and user_id(67) has 1 unique chat id. Not Sure Is it possible in query or have …

Member Avatar for AleMonteiro
0
223
Member Avatar for jacob21

Hi, By using **group by c3.source**,getting below result. I am trying to add condition in group by clause such that 3 rows should come 1)0+3 source result should merged 50+48 52+75 99+102 2) 4 source result contains ids having source 4 and url like '%daniweb%' source 0_to_7_days 7_to_14_days more_then_15_days 0 …

Member Avatar for Taywin
0
161
Member Avatar for jacob21

I have a column name descrption in a table.. descrption contains multiple rows like claim for my new mercedes purchase my new car ------ ----- I am trying to explode each row and save each entery in a new column. claim :save in split1 for:save in split2 my:save in split3 …

Member Avatar for broj1
0
200
Member Avatar for jacob21

Hi, Need suggestion for a query. I am trying to get count(c3.id) for all days of feb. As in cs.created_at some dates are missing.How can i use below clause. **group by day(cs.created_at)** something like group by day(month(cs.created_at)) not working.. select count(case when cs.id IN(select max(id) from complaint3_status where complaint_id=c3.id and …

Member Avatar for Alberto Bucur
0
193
Member Avatar for jacob21

Hi, Need suggestion for sql query. I have 2 tables user user_status user: id,name user_status=id,user_id,status_type,status_value user_status stores multiple status_type and status_value.for 1 user there can be multiple rows I am trying to get all users having who are not blocked i.e user_status table dont have status_type(10) and status_value(11)

Member Avatar for rch1231
0
158
Member Avatar for jacob21

Hi, Need Suggestion for a query user_id source I need all user_id having source value=1,2 but source 2 user should have url like '%facebook%'

Member Avatar for pritaeas
0
98
Member Avatar for jacob21

Hi, Can we use count inside case statement. Need suggestions.. Error: ER_INVALID_GROUP_FUNC_USE: Invalid use of group function select COUNT(case when count(c3.id)>1 then c3.id end) as more_then_one ...................... ...........................

Member Avatar for urtrivedi
0
99
Member Avatar for jacob21

Complaint table id company_id user_id source id=coplaint_id user_id=user which filed complaint company_id=complaint againt company source=source of complaint I am trying to get user_id who have filed complaint via same user_id and against same company. one user can filed multiple complaints against same/different company

Member Avatar for scudzilla
0
173
Member Avatar for jacob21

Hi, I have 5 tables..a.b,c,d,e While doing equi join : 1)a.id=b.id, b.id=c.id, c.id=d.id, d.id=e.id a.id=c.id, a.id=d.id b.id=d.id How internally equi join works.should i need all PK to Join Could you suggest me some tutorial which shows how internally works.

Member Avatar for pritaeas
0
103
Member Avatar for jacob21

Hi, Is there any tool that extract below from gmail and save in to csv. Name of Person to: Email id cc: Email id Time stamp - DD/MM/YYYY URL's in the email

Member Avatar for cereal
0
286
Member Avatar for jacob21

Hi, below queries gives two rows like category_name high_value_complaints category_name high_value_duplicate_complaints I am trying to merge both queries category_name high_value_complaints high_value_duplicate_complaints I tried to join both tables but its giving category_name high_value_complaints category_name high_value_duplicate_complaints Need suggestions select category_name, count(distinct complaint3.id ) as high_value_complaints from complaint_category,assignment3,user3,complaint3_details, complaint3,complaint_tag ct where complaint3.complaint_category_id=complaint_category.id and …

Member Avatar for jacob21
0
163
Member Avatar for jacob21

Hi, I stored hindi data in my my sql table through Php form. While fetching,it is not coming in hindi but some unusual symbols like गिरधर गोपाल रायतानॠis coming. using below code also [CODE]mysql_query('SET character_set_results=utf8'); mysql_query('SET names=utf8'); mysql_query('SET character_set_client=utf8'); mysql_query('SET character_set_connection=utf8'); mysql_query('SET character_set_results=utf8'); mysql_query('SET collation_connection=utf8_general_ci'); [/CODE] Need help..

Member Avatar for diafol
1
7K
Member Avatar for jacob21

Hi, I have a table: user uid status 1 1 2 1 3 1 4 2 5 2 6 1 7 2 8 1 9 3 10 2 I am trying to fetch data for below logic: 1) fetch top 6 rows having status=1 2) if status=1 has less then …

Member Avatar for pritaeas
0
213
Member Avatar for jacob21

Hi, I have around 4 lakhs email id data(In CSV). I want to change status of above emailids. Could i run a simple update query or do something more. Need Suggestions

Member Avatar for BlindArcher
0
781
Member Avatar for jacob21

Below tables :I am trying to calculate **openLeadsCount** having status 1 I tried but getting wrong results SELECT COUNT(lead.id) FROM lead JOIN lead_status ls WHERE ls.lead_id=lead.id AND ls.id=(SELECT MAX(id) FROM lead_status lst WHERE lst.status=1 ) Lead table: id created_on 1 2014-1-13 2 2014-1-18 lead_status table id lead_id created_on lead_status 1 …

Member Avatar for Reverend Jim
0
141
Member Avatar for jacob21

Hi, I am using timestamp datatype for storing date..and value of column is like 2013-12-31 T 23:59:59.000Z For query SELECT * FROM a WHERE created_on BETWEEN '20131201' AND '20131231' SELECT * FROM a WHERE created_on >= '20131201' AND created_on <= '20131231' Which will give right result??

Member Avatar for nauticalmac
0
122
Member Avatar for jacob21

Hi, I am trying to merge below two queries in a single query such that company_id,company_name,noOfOpenTickets,noOf PendingTickets Need suggestions?? No Of open Tickets: select c.company_id, (select company_name from company where id=company_id) as companyName,count(s.complaint_id) as noOfOpenTickets from complaint3 c ,complaint3_status s where s.id =(select max(d.id) from complaint3_status d where d.complaint_id =c.id …

Member Avatar for jacob21
0
203
Member Avatar for jacob21
Member Avatar for jacob21
Member Avatar for diafol
0
2K
Member Avatar for jacob21

Hi, Below code working fine in firefox,but not working in IE,Chrome,Opera. Need Suggestions. <div class="topheading"><b>Headlines:</b></div> <div id="marquee_wrap"> <marquee direction="left" scrollamount="2"> <?php include('../db.php'); $headlineNewsQuery=mysql_query("SELECT * from svn_headline order by newsid DESC LIMIT 0,8 "); while($headlinenewsresult=mysql_fetch_assoc($headlineNewsQuery)){ //$newsHeadline=$headlinenewsresult['newsheadline']; ?> <li><img src="images/maq-bullet.png" /><?php echo $headlinenewsresult['newsheadline']; ?> </li> <?php }?> </ul></marquee> </div>

Member Avatar for minitauros
0
228
Member Avatar for jacob21

Hi, I am working on a news website.I am trying to add fb share/like, twitter share, google plus button for each news. could u please give me direction for starting above. Is there any plugin?? it is same as in daniweb i.e we can share each post on social networks

Member Avatar for cereal
0
91
Member Avatar for ollicadyan
Member Avatar for Lsmjudoka
0
94
Member Avatar for jacob21

I am using below query for fetching result using union of two tables. I am trying to get total number of records after union of two tables Need Suggestions. ` SELECT a.* FROM svn_headline a where a.newstypeid=2 UNION SELECT b.* FROM svn_crimenews b where b.newstypeid=2 order by newsdatetime desc SELECT …

Member Avatar for pritaeas
0
102
Member Avatar for jacob21

$newtypeid=$_REQUEST['newstype']; $action = (isset($_REQUEST['action'])&& $_REQUEST['action'] !=NULL)?$_REQUEST['action']:''; if($action == 'ajax'){ echo "newtypeid is".$newtypeid; -------------- //some stuff here } How to get $newtypeid value inside if statement.

Member Avatar for diafol
0
261
Member Avatar for jacob21

Hi, I need suggestions regarding getting rank of website from search engine.For example: I search php tutorial in google w3school get 1st rank,php.net get 3rd rank How i can get above rank Need help!!! Thanks

Member Avatar for ericnboler
0
93
Member Avatar for jacob21

Hi, I am working on a web application having more then 5 lakhs users accessing pdf file from server. Each time a pdf is loaded from server which may consume network bandwidth(our assumtion). Need suggestions for how can we restrict only 100 or any number of users at a time …

Member Avatar for diafol
0
142
Member Avatar for jacob21

Hi, Need Help regarding a query. I want to search all empName from emp table whose name 3rd letter is "s"

Member Avatar for drjohn
0
197
Member Avatar for jacob21

Hi, Below code is working for uploading and insertion in database. How below can be done without Without Reloading the Page. <?php session_start(); $userId=3; //stored userid of current login user from session include("../db.php"); //include db part if (isset($_FILES["csv"])) { $uploadedFile = $_FILES["csv"]; $uploadedFileName = $uploadedFile ["name"]; //name of uploaded file …

Member Avatar for JorgeM
0
980
Member Avatar for jacob21
Member Avatar for diafol
0
89
Member Avatar for jacob21
Member Avatar for Atli
0
197
Member Avatar for jacob21

Hi, I am trying to populate year,day and month dropdown. It working fine without <option value="">Select</option> i.e empty option. But getting wrong no of days for month selection after adding select option <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>untitled</title> <script type="text/javascript"> var numDays = { '1': 31, …

Member Avatar for LastMitch
0
212
Member Avatar for jacob21

Hi, I am executing below query. db.leads.find(); How to get execution time(in milli seconds) it take.

Member Avatar for pritaeas
0
134
Member Avatar for jacob21

Hi Experts, Which database is better acc to Performance factor. Need Suggestions..

Member Avatar for pritaeas
0
246
Member Avatar for jacob21

Hi, I applied for google adsense 3 times but everytime got rejeted. Need suggestion for changes i.e. what should i change in my website. website name: [url]www.ihmjobs.com[/url] We did not approve your application for the reasons listed below. Issues: - Page type --------------------- Further detail: Page type: Your website is …

Member Avatar for LastMitch
0
150
Member Avatar for jacob21

Hi, I am working on google charts.Below code is showing tooltip in case of core graph. I am trying to show tooltip in case of Table chart. need sugestions corechart code: <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawVisualization); function drawVisualization() { data = new google.visualization.DataTable() data.addColumn('string', …

Member Avatar for LastMitch
0
1K
Member Avatar for jacob21

Hi, I applied for google adsense 3 times but everytime got rejeted. Need suggestion for changes i.e. what should i change in my website. website name: <snip> We did not approve your application for the reasons listed below. Issues: - Page type --------------------- Further detail: Page type: Your website is …

Member Avatar for shasha7
0
167
Member Avatar for jacob21

How to make HTML Page Full screen?? With "full screen" I mean that it should take all the space of user's screen,just like when we watch a video with the full screen model. I do not want the task bar/menu bar of the browser window display. Any suggestions??

Member Avatar for jacob21
0
6K
Member Avatar for jacob21
Member Avatar for pramod19
0
247
Member Avatar for jacob21

Hello i want to send bulk sms.In developer API this code is given. where should i use that code. WAITING FOR HELP. A sample HTTP API Call for Single Recipient would be: [url]http://www.abulksms.com/pushsms.php?username=acs&password=your_password[/url] &sender=mysenderid&cdmasender=mycdmasenderid&to=myrecipient&message=Hello A sample HTTP API Call for Single Recipient with Scheduling (4th January 2009 at 3:30 PM) …

Member Avatar for bokerinni
0
152
Member Avatar for jacob21

Hi, i am inserting data from CSV file in mysql. I am trying to skip ist row of CSV file as it contains headings. need suggestions??

Member Avatar for pritaeas
0
203
Member Avatar for jacob21

Hi, I am using below PHP script for insertion in mysql table from CSV file. Below code is working fine but i am trying to leave first row of CSV as it contains heading for data. need suggestions as it is reading from very first row. <?php //connect to the …

Member Avatar for leviathan185
0
2K
Member Avatar for jacob21

I want a Jquery Popup Form which will appear on Page Load but only one time (for newsletter purpose). After filling form.. I want to store values into a table.

Member Avatar for dean8710
0
87
Member Avatar for jacob21

Hi, when i click on a link,its showing an extra shadow after clicking on linking text. Need suggestions.

Member Avatar for JorgeM
0
58
Member Avatar for ak47carbon
Member Avatar for JMills330s
0
260
Member Avatar for jacob21

Hi, I want to check query execution time. I used microtime(),time() but not getting accurate result. I also read about mysql slow_query_log but not able to find how to change settings in PHPmyadmin. Need suggestions

Member Avatar for pritaeas
1
167
Member Avatar for jacob21

Hi, my website svnnews.in is hacked yesterday. Now its showing some hackers messages. I need my website back.Need suggestion to make my website hack free.

Member Avatar for iamthwee
0
125

The End.