1,073 Posted Topics

Member Avatar for akvlko

Hello, I can see a couple of ways to do this but some questions first. Does a ticket always have an entry in the ticket_history table? In your description of the output you reference the status three times. Twice from ticket_history and once from ticket. Is that required? Is this …

Member Avatar for akvlko
0
117
Member Avatar for dado.d
Member Avatar for plugsharma

Hello, What you need to do is get rid of the variables. [CODE]SELECT VendorId From Vendors WHERE CountryId in (223, 245, 285, 286) ORDERBY CreatedDate'[/CODE]

Member Avatar for glennt
0
223
Member Avatar for Some-Jackass

Hello, From what I see in the documentation you can treat the GROUP_CONCAT(itemname) as a list to test against. [CODE] select ContainerName, ContentType, and GROUP_CONCAT(ItemName) as itemnamelist where "Apple" in GROUP_CONCAT(ItemName) group by ContainerName [/CODE] At least that is the way I read it. I would like to know if …

Member Avatar for Some-Jackass
0
161
Member Avatar for derozza

Hello, One way to do it is to make the output column names the same in both queries and then use UNION to combine the two: (Select xxxx as Field1, yyy as field2 .... ) UNION (Select zzz as Field1, ttt as field2 .... )

Member Avatar for rch1231
0
128
Member Avatar for davesh

You need to see if the site is setup in Plesk properly and find out where httpd is looking. If it is Linux server for both old and new then files should have the same permissions on old and new. Try httpd -V from a command prompt to see where …

Member Avatar for rch1231
0
319
Member Avatar for jrock2004

Hello, The first thing I can think of is that the date of the month must be greater than the 14th and less than the 22nd (ie 15th through the 21st ). then just test for weekday being wed.

Member Avatar for rch1231
0
57
Member Avatar for niths

Hello, For one thing you need spaces after the commas in you select: select Emp_Id, First_Name, Last_Name, Gender, Mobile_No, Email_Id, Blood_Group from Employee where

Member Avatar for niths
0
141
Member Avatar for Rambomst

A couple of things seem a bit odd to me. Your specs say you have 16 processors but only 512MB memory and 30GB hard drive space. There may be 16 processors in the server but you are not being allocated all 16. And 512MB of memory is a bit low …

Member Avatar for Rambomst
0
151
Member Avatar for Aldius

Hello, If you put your code to get the first result in place of temptable in the code below it should give what you are looking for. (I think) [CODE]Select ProdID, (Max(Price) - Max(Amount) ) as NewAmount from temptable where TotQuantity >= BreakLevel Group By ProdID [/CODE] Let me know …

Member Avatar for rch1231
0
201
Member Avatar for Puster

Hello You need spaces to separate the variable from the test: [CODE]//Skjekk passord if ($password != $password_db) echo "incorrect password"; else[/CODE]

Member Avatar for _coder
0
196
Member Avatar for bimaljr

Try this and see how it works: SELECT article.article_title, article.article.body, count(*), sum(comments.status) from articles, comments where articles.ID = comments.Article_ID group by article.article_title Should be about right.

Member Avatar for rch1231
0
191
Member Avatar for rikz

The trick is to get the basic query with all of the correct data showing first then add in the SUM options afterward. Try this: [CODE] SELECT id.RouteNo, id.PickVol AS total_volume, b.volume AS rested_volume FROM imported_data id LEFT JOIN buff b ON id.RouteNo = b.route AND WHERE id.id_date = '2010-10-10' …

Member Avatar for rch1231
0
95
Member Avatar for eddster10
Re: UNIX

Hello, Instead of ftp use scp (secure copy) or rcp(remoter copy). To copy file1 from myserver in /home/me to newserver1 in /tmp you would enter: scp /home/me/file1 newserver1:/tmp System would prompt for your password in scp if you have not configured ssh keys. If the servers are close together you …

Member Avatar for martin8484
0
95
Member Avatar for andydeans

Hello, The only thing I have ever notice is that when you query a view from another view is that it can be slower if the first view creates a large amount of output. You might want to simply add the query as an outer select to the syntax for …

Member Avatar for andydeans
0
119
Member Avatar for chinmc

I am not sure but I believe you have the syntax for include wrong. It should look something like this: <?php include "../config.php" ?> and this would imply that config.php is one directory up from the file calling it or in your case: /home/glbo123/public_html/ If it is in the same …

Member Avatar for chinmc
0
132
Member Avatar for Ritesh_4
Member Avatar for redous

how about: $query = "SELECT count(`mail`) FROM `users` WHERE `username` = `$session->username`";

Member Avatar for rch1231
0
148
Member Avatar for avataralien

I think what you are looking for is grep (get regular expression) it is used to pull specific lines from a file. you could then use awk to strip out the fields you want. It really depends on the format of the actual file in question. The page you directed …

Member Avatar for rch1231
0
88
Member Avatar for frog3764
Member Avatar for D33wakar

Hello, You can run a login script for a specific user by adding it to their profile. Go to Control Panel, Administrative tools, Local Users and Groups, Users. Then right click on the user and select Properties and then the Profile tab.

Member Avatar for rch1231
0
97
Member Avatar for joepimin

The images are stored on a server at craigs list and only their servers can access the images to display them on the ads.

Member Avatar for rch1231
0
102
Member Avatar for enthu_Unix

Hello, SUDO is to make you have root privileges for executing the script you are about to run not really used for switching to a different user. There are other options. Linux allows you to set up a script so that when it is run it appears to be run …

Member Avatar for cfajohnson
0
177
Member Avatar for andydeans

You would run into a lot of issues with authenticating as a valid email server for the domain you are trying to send as. I know my email servers would reject your messages as being bogus spam due to your server not being a valid server for that domain. You …

Member Avatar for richieking
0
155
Member Avatar for pallen

Hello, Here is something from the reference I use: [CODE]<p> Search the online resources database:<br /> <form action="fulltextsearch.php" method="post"> Keywords:<br /> <input type="text" name="keywords" size="20" maxlength="40" value="" /><br /> <input type="submit" value="Search!" /> </form> </p> <?php // If the form has been submitted with supplied keywords if (isset($_POST['keywords'])) { // …

Member Avatar for richieking
0
262
Member Avatar for leighbrown911

Well to begin with your CMOS battery is dead and needs to be replaced. When you turn your computer off does it still have access to power (i.e. plugged into the wall and powered off with the front panel power switch) or do you turn off the power strip it …

Member Avatar for rch1231
0
165
Member Avatar for andantesash

Down load the UBCD from [URL="http://www.ultimatebootcd.com/"]http://www.ultimatebootcd.com/[/URL] It is a linux boot disk with several utilities on in including repartitioning, imaging or copying your hard disk. Also available is a version for windows but you hve to use your working windows system to create the cd Image. [URL="http://www.ubcd4win.com/howto.htm"]http://www.ubcd4win.com/howto.htm[/URL]

Member Avatar for khakilang
0
214
Member Avatar for chief20001

It could be your internal firewall or your ISP blocking port 25. Try this from a command prompt and see what you get: telnet <email server name> 25 If you get a HELO back you are connected to the pop server. IF not check your firewall and see if port …

Member Avatar for rch1231
0
195
Member Avatar for patdeeley

It could be something as simple as part of the RAM being used for Video memory. I would check the BIOS and see what it shows instralled.

Member Avatar for gerbil
0
95
Member Avatar for kadriirdak

It might be easier to use this sort them with the highest contact number and then just get one record. [CODE]SELECT contacts.forenames, contacts.surname, communications.number, contacts.contact_number FROM contacts LEFT JOIN communications ON contacts.contact_number=communications.contact_number WHERE contacts.surname='$sn' AND contacts.forenames='$fn' AND communications.number='$em' ORDER BY contacts.contact_number DESC LIMIT 1 [/CODE]

Member Avatar for kadriirdak
0
140
Member Avatar for effyl01

I believe there are different versions of shockwave for IE and FF. Check to see if you have the IE plugin.

Member Avatar for rajarajan2017
0
100
Member Avatar for Spaiz

Your nameservers are not responding to requests: nslookup altprices.com ns1.altprice.com ;; connection timed out; no servers could be reached The name servers are set to: [rod@lptp1 ~]$ nslookup ns1.altprice.com Server: 192.168.15.1 Address: 192.168.15.1#53 Non-authoritative answer: Name: ns1.altprice.com Address: 204.236.219.103 but I cannot ping them... rod@lptp1 ~]$ ping 204.236.219.103 PING 204.236.219.103 …

Member Avatar for rch1231
0
168
Member Avatar for philip.s

Looks like you missed the $ in front of value1 [CODE] $sql="INSERT INTO finaltable (value0, value1, value2) VALUES ('$value0',[COLOR="Red"]'value1'[/COLOR],'$value2')"; [/CODE]

Member Avatar for Caeon
0
83
Member Avatar for arjen

I believe you need an ODBC connection (available from mysql) to the MySQL server in order to make the connection.

Member Avatar for arjen
0
157
Member Avatar for Ahiru

try using this: [CODE]select DISTINCT productID, regionID min(price) as MINP from sales_db where available_volume>5 group by productID, regionID order by min(price) desc[/CODE]

Member Avatar for rch1231
0
133
Member Avatar for Coyboss

Hello, The problem is you are missing the ON that tells the join how to connect the two tables. There has to be a reference field in employees to link it to job titles but your query will look something like this. [CODE] use Dwight_wk2 Select * from employees Left …

Member Avatar for rch1231
0
141
Member Avatar for FlyByNight73

Hello, Off the top of my head how about if you sum the availability status and select only those where the sum is 0.

Member Avatar for FlyByNight73
0
206
Member Avatar for khakilang

I also have moved off of Windows on my laptop and my main desktop is not far behind. For anything that I want to run as if I have Microsoft's continually hacked and patched Windows I use WINE which works even for my games (World of Warcraft, Starcraft, Red alert …

Member Avatar for Unbidden Ghost
0
154
Member Avatar for mnewsome

I would run malwarebytes (download from cnet's download.com) and see if anything has got onto your system. Then take a look in task manager at the processes tab to see processes that are running and sort them by the CPU time(click the CPU heading twice) to see what is taking …

Member Avatar for mnewsome
0
85
Member Avatar for rexsinha

Hello, I have put a few of these together in the past and the best way I have found is to include a reference to the parent sales person in the sales person record. Something like Person_ID Parent_ID First_Name Last_Name ...

Member Avatar for rch1231
0
48
Member Avatar for venet
Member Avatar for jakesee

Communications speeds when transferring data are usually, but not always, measured in bits per second. A bit is a binary or logical 1 or 0. Data transfer speeds when transferring data, etc. in a computer, such as between memory and a hard disk drive, are often, but not always, measured …

Member Avatar for rch1231
0
6K
Member Avatar for frank754

Hello, If your system is running linux you can install lynx which is a text based web browser.

Member Avatar for frank754
0
144
Member Avatar for katepanx

When I have seen this in the ast it has been due to not having software installed for burning DVCD's. Normally something like NERO or Sonic.

Member Avatar for katepanx
0
128
Member Avatar for rrlogu

Hello, Can you ping the site from a command prompt? and try nslookup to see if you are able to resolve the domain name. nslookup [url]www.example.com[/url]

Member Avatar for rrlogu
0
151
Member Avatar for aerophil

Hello, You have a bad memory chip. What is happening is it is in the upper memory and you are not using that register till after you have been running a bit.

Member Avatar for bigrd55
0
337
Member Avatar for amitkamra

find /var/log -mtime 30 -print -mtime n File’s data was last modified n*24 hours ago. or ls -R /var/log | grep Mar However it really depends on what your logrotate configuration is set for. You may not be saving that far back. ls -la /etc/logrotate.d will give you what is …

Member Avatar for retheesh1
0
182
Member Avatar for arctushar

Hello, several options. 1. Export to excel then save as a .CSV file and import to MySQL. 2. Find a copy with the hack of Access2MySQLSync and it will do the work for you. 3. export to a tab delimited file and import.

Member Avatar for appnub
0
255
Member Avatar for Venom Rush
Member Avatar for Awah Mohamed
Member Avatar for rch1231
0
48

The End.