205 Posted Topics

Member Avatar for khair.ullah

Where is the dropdown getting its list from? if it is databound, you may need to force the databinding to take place first on the postback (ie: before the above event)

Member Avatar for |-|x
0
119
Member Avatar for sparksguy

> INSERT INTO mp_creditmail (Id, message, subject, read) ('select Id from oto_members ORDER BY RAND() Limit $to;', '$messaging', '$sub', no If that is supposed to be a subquery, the syntax is wrong - it is currently trying to insert a string value `'select Id from ...'` You are also missing …

Member Avatar for sparksguy
0
216
Member Avatar for cproger

[www.google.com.au/search?q=world+population](http://www.google.com.au/search?q=world+population)

Member Avatar for GrimJack
0
234
Member Avatar for dina85

Is there possibly some invalid character in the post values that is breaking the string when expanded at line 6? Are all 3 values present (non-null)?

Member Avatar for pritaeas
0
141
Member Avatar for Ridji

are you sure you set the password correctly for this user? If it is default install, try with no password. > 'root'@'localhost'

Member Avatar for Webville312
0
129
Member Avatar for SirMahlon

> > when i type localhost/filrname.php.it displays an internal error message.HTTP Error 404 Probably indicates a configration problem with WAMP as it seems to not be finding the page/file. Did you configure Apache to run on port 80? Does your machine also run an IIS or other service that could …

Member Avatar for almostbob
0
480
Member Avatar for dbalas

As far as I can tell (from a quick glance) your MIME encoding seems OK However, you need to specify the image as inline, or it will show up as an attachment. Content-Disposition: inline; filename=logo.gif You also need to specify an ID for reference within the email content. (this is …

Member Avatar for paulkd
0
498
Member Avatar for happygeek

> Answer to the stupid blue lighted logo? Band aid or short strip of black electrical tape. Or a permanent marker. Davey, the title of this article really shows your age (or maybe mine for recognising the reference)

Member Avatar for happygeek
3
465
Member Avatar for showman13

Try setting `padding: 0` on your `UL` element. It's common practice to use a "reset" css (either one downloaded from the net or a custom one) to set some global initialisation values such as zero padding margin and border for all elements. This may be something you could look into …

Member Avatar for showman13
0
210
Member Avatar for MattD00

You have no closing tag for the `figcaption` which may cause layout problems <figure> <div align=\"center\"> <a href=\"\"><img src=\"images/" . $row['product_img'] . ".png\" alt=\"" . $row['alt_desc'] . "\"></a> **<figcaption>**<p>" . $row['product_name'] . "<br> <b>£" . $row['product_price'] . "</b> </p></div></figure>

Member Avatar for |-|x
0
927
Member Avatar for Black_Lion

Why is your foreign key also your primary key for table Book? What happens if a publisher has more than one book? Typically the table structure you would see for this relationship is like this: book_id (PK,auto_increment) publicher_code (FK) title `book_id` will generate automatically when the record is inserted `publisher_code` …

Member Avatar for JorgeM
0
252
Member Avatar for coder91

I actually can't see anything wrong with the loop, as such. JorgeM has a good point, but since you aren't resetting `XExists` it should maintain its state through the remainder of the iterations. The comparison may be an issue as ggamble suggests, but afaik C# will throw an exception if …

Member Avatar for |-|x
0
582
Member Avatar for kdlong

This is really pretty vague, is there any more information you can post? * What version of Windows are you running? * Has there been any changes (hardware, software or configuration) to your pc recently? * did you notice anything strange just prior to this occurrance - running slow, error …

Member Avatar for Webville312
0
370
Member Avatar for mallows.yum

Just after a quick look through your page code, I can't see any inputs for `fname` or `lname`, which will cause those POST variables to fail. Are you getting any specific error messages from PHP?

Member Avatar for |-|x
0
209
Member Avatar for clbembry

I personally don't see anything wrong with what you have there. It's difficult for students with relatively little commercial experience to demonstrate their applicable skills, so I wouldn't worry about having typing and such things just now - in 5 or 10 years when you have a few more jobs …

Member Avatar for clbembry
0
280
Member Avatar for ganges

The Ubuntu live CD will allow you to do a side by side installation (dual boot), but I believe you need to have a separate drive or partition in order to maintain both OS.

Member Avatar for Ritesh_4
0
199
Member Avatar for harshd89

It looks like you aren't actually calling name.add() anywhere in the main function. Only reading the input into local variables. I think line 21 `StudentList name = new StudentList();` should be outside the loop, and this is the spot where you need to call the `add()` function.

Member Avatar for |-|x
0
4K
Member Avatar for 2mhzbrain

You have to use grouping, and I assume from what it looks like that you are converting the units from cm to m. try something like this... SELECT item, sum(if(unit='cm',qty/100,qty)) qty, 'm' unit FROM tablename GROUP BY item

Member Avatar for GeoEqual
-1
157
Member Avatar for dhani09

Do you want to know how to add the actual foreign key constraint? or how to manage the data insertion?

Member Avatar for dhani09
0
125
Member Avatar for daniel36
Member Avatar for happygeek

I have been using Chrome for years as my primary browser. The main reason is its light weight memory usage, the way it handles processes for pages and plugins, and the speed it can load and render a page. IE has improved in v9, but IMHO both Firefox and IE …

Member Avatar for scaiferw
0
709
Member Avatar for happygeek

Let me preface this by saying; who wouldn't want to work at Google? Though its been a while since I was an undergrad, I find it interesting that so few had inspiration to travel or work abroad. This was always a goal for me, and part of what influenced my …

Member Avatar for Seten
0
503
Member Avatar for happygeek

I could believe they are fairly accurate, however I think you are correct in assuming that much of what is categorised as "cyber crime" is probably very low on the severity scale. Personally, I get virus warnings - a lot of false positives, tracker cookies and things like that, and …

Member Avatar for sbesch
0
325
Member Avatar for showman13

You need to set up your mail to be a multi-part MIME message, which means you need to generate boundaries and MIME headers for each section (message & attachments) as well as an overall/outer header. Additionally, non-text files (binary files) such as pdf's or images should be base64 encoded so …

Member Avatar for pratziyer
0
147
Member Avatar for JTate89

I suppose it depends on the industry and market you are looking in. For me, I see a lot of demand for PHP, DotNet (usually C#/ASP.NET though also VB, not that there is a lot of difference between the two IMHO). I haven't seen much in the way of Python …

Member Avatar for lous39
1
279
Member Avatar for jkulp4

You will need to check the POST variable to see if a user has been selected, then make an additional call to the database to fetch the related data. I have also added a javascript call to automatically post the form when the dropdown is selected. It will probably be …

Member Avatar for jkulp4
0
128
Member Avatar for HibaPro

are you talking about [nesting one gridview inside another](http://msdn.microsoft.com/en-us/library/aa992038(v=vs.80).aspx)? or having two linked datagridview controls side by side on the page?

Member Avatar for |-|x
0
86
Member Avatar for sujimon

As a general rule of thumb, install older versions before newer versions of the same software. Install software in heirarchical order, apps before plugins etc. (eg: VS before Crystal). In your list above I would probably install SQL server first, as it is likely to be the heaviest. I have …

Member Avatar for |-|x
0
129
Member Avatar for happygeek

> these are exactly the kind of computers being put to use by the bad guys in decoding those stolen databases of encrypted (salted but not hashed) usernames and passwords that you read about in the news. . > Sorry, that's absolutely not how encryption works. Salting only means anything …

Member Avatar for happygeek
0
348
Member Avatar for jonny_tech_brat
Member Avatar for code739

You should be able to interact with multiple databases without needing multiple connections open from php. Check out the mysql [use](https://dev.mysql.com/doc/refman/5.0/en/use.html) command. You can also reference the databases directly in your query. SELECT * FROM db1.tableA; SELECT * FROM db2.tableA;

Member Avatar for diafol
0
117
Member Avatar for Yomet

> is there a way of incorporating shell commands like PING into a T-SQL procedure? Yes. [This page](http://www.sql-server-performance.com/forum/threads/xp_cmdshell-to-return-ping-result.3387/) has a demonstration of such. However, let it be said that shell access via SQL is regarded as a high security risk and is often disabled, so it will depend on your …

Member Avatar for cutepinkbunnies
0
5K
Member Avatar for xbat

http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html What are you trying to group, what does your data look like? The basic format is SELECT SUM(col1) FROM table GROUP BY col2

Member Avatar for xbat
0
162
Member Avatar for oldezwe

`regprocess.php`, line 2: make sure you have a space between the include command and the filename. include"config.php"; Also, regprocess.php doesn't produce any output. Although, I don't believe this should cause the code to be printed, I suggest adding some print statements, a redirect, or something.

Member Avatar for |-|x
0
264
Member Avatar for BaxterWoofus

The name of the parameter declared in your datasource needs to be the same as the parameter defined in the query/stored procedure. Otherwise they won't map, afik. <asp:Parameter Name="in_MPID" Type="Int32" /> You can set the parameter value in code prior to databinding/updating. (Look at `OnDataBinding` & `OnUpdating` events) TECT_DataSource.UpdateParameters["in_MPID"].DefaultValue = …

Member Avatar for |-|x
0
2K
Member Avatar for |-|x

Just wondered if anyone knows if there is an MS equivalent of the [hidden](http://www.w3schools.com/html5/att_global_hidden.asp) property, which doens't work in IE. Or do I have to just use the style properties to set visibility/display because IE sucks so bad?

Member Avatar for Troy III
0
177
Member Avatar for happygeek

It actually doesn't surprise me. The number of "big" sites I have been to that are only compatible with IE is a constant point of contention as I specifically avoid using IE due to its history of security related and efficiency issues.

Member Avatar for Troy III
4
511
Member Avatar for nuevoenjava

you could try using the [onscroll](http://help.dottoro.com/ljurkcpe.php) event (the HTML select control supports this event) to call an ajax function which will trigger your sql cursor. But due to the sheer quantity of data you are dealing with, you might be better served to use a datalist or something with paging …

Member Avatar for kvprajapati
0
109
Member Avatar for happygeek

Another related, useful tool by security expert Steve Gibson... [url]https://www.grc.com/haystack.htm[/url]

Member Avatar for rajutech
0
612
Member Avatar for lewashby

Try running the installer as Administrator, it might be a security issue under win7 preventing the install. If you right click on the installer exe, you should have an option to `Run as Administrator`

Member Avatar for waltersenekal
0
305
Member Avatar for vsmash

Yeah, I had a similar thing happen in one web app where I was using the same name for an SQL parameter in a couple different queries. It seems that somehow a value from another query was inadvertantly maintained in that variable holder in the MySQL Session and was used …

Member Avatar for |-|x
0
182
Member Avatar for hwoarang69

> if(!$insert = mysql_query is an assignment operation, which will always return true. If you are trying to check the success of the query operation, just use if (mysql_query(...)) > MySQL server has gone away This means that the connection has been closed or has timed out, and the query …

Member Avatar for |-|x
0
197
Member Avatar for Borderline

Try changing from `INNER JOIN` to `LEFT JOIN` as your filter is on the left hand table.

Member Avatar for Borderline
0
144
Member Avatar for |-|x

Hi all, I'm looking for a good tool for analysing Windows Server Event Logs. Basicaly, I want to be able to filter by types of entries or content, and search. If it has some smarts built in for things like highlighting suspicious behaviour that would be great too. I need …

Member Avatar for |-|x
1
280
Member Avatar for dany12

Have you got the Apache rewrite module active? Try this <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^(www\.localhost/magiclight)(:80)? [NC] RewriteRule ^(.*) http://localhost/magiclight/$1 [R=301,L] </IfModule>

Member Avatar for almostbob
0
852
Member Avatar for AjixPreston
Member Avatar for MDanz

Your first query does give me rows 4 and 7 The second however returned no results.

Member Avatar for |-|x
0
128
Member Avatar for bo0ga

It is because of the layout of the page - these styles apply to several different nested elements or tags in the html, not just the button. Depending on the actual styles implemented they will have quite different effects if applied directly to the button, which is not necessarily what …

Member Avatar for bo0ga
0
159
Member Avatar for asif49

I believe Dani is correct in this assessment. Direct transfers have little to nothing you can fall back on in the case of fraud, as I have experienced myself through a bad ebay purchase. In that case, I was able to claim back through ebay's own buyer protection program, but …

Member Avatar for G_Waddell
0
68
Member Avatar for abathurst

you need to databind the DropDownList itself, as you point out correctly the ListItem doesn't have any data binding events. <asp:DropDownList ID="ddlLocation1" runat="server" DataSourceID="dsLocation" DataValueField="TotalCost" DataTextField="Location" />

Member Avatar for abathurst
0
1K

The End.