Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #517
~27.2K People Reached
Favorite Tags

79 Posted Topics

Member Avatar for oliprik

Your SQL statment is failing so the mysql_query is returning a boolean value (false) instead of a result set. Make sure that your SQL statement is valid.

Member Avatar for diafol
0
3K
Member Avatar for OldDeveloper01
Member Avatar for nandkishor.sharma.372_1
0
862
Member Avatar for svilla

I have this PHP program: <?php echo 'Start of Soap Request<br />'; $client = new SoapClient("http://192.168.201.67:10010/web/services/getItemDesc?wsdl"); print_r($client); echo '<br />Start of Var_Dump<br />'; var_dump($client); echo '<br />Result Print<br />'; $result = $client->testws(array("PEITEM" => "1020000000", "PEMSG" =>" ")); print_r($result); ?> That access a web service on my iSeries. I can get …

Member Avatar for maba001
0
1K
Member Avatar for nzz20v

There is a mismatch in the columns being listed and the VALUES being inserted make sure that whatever columns you have in $dblist mathc everything you have in the VALUES. If it is too hard to compare create an $sql var that holds the whole sql statement and dump or …

Member Avatar for nzz20v
0
466
Member Avatar for svilla

I have a Web Service I setup on the iSeries. It works when using SOAPUI and it works from the Built in test facility in the Native Web server. But when I try to access it form the following PHP program it fails to return any data. I am obviously …

0
105
Member Avatar for svilla

I am using Visual Studio 2010 and I am trying to enter some HTML by hand. I code the following lines: [CODE] <tr> <td colspan="4" class="shade tableheader">NCR Information </td> </tr> <tr> <td class="shade">Date Opened </td> <td><asp:TextBox ID="fldReportDate" runat="server" CssClass="datePicker"></asp:TextBox> </td> <td class="shade">NCR # </td> <td style="font-weight: bold; font-size: 12pt"><asp:Label ID="fldLog" …

0
125
Member Avatar for knottykings

Have you dumped the session variable to the screen to see if it really does contain a value? Maybe it is there from a previous signon. Instead of comparing the session variable to '' try the empty() function.

Member Avatar for nagarjunrajen
0
184
Member Avatar for SyncMaster170
Member Avatar for Mitja Bonca
0
132
Member Avatar for jigarsangoi

I thought that pulling images from a database was quite an expensive operation. Why not store the file path in the database and then just set the [B]imageurl[/B] parameter of the <asp:image> tag to the path you read out of the database. This would be eaiser and would not require …

Member Avatar for Sarama2030
0
142
Member Avatar for johnbo100

I have no idea what your column names are so substittute your column names for 'fld1'. You can concatenate any series of column names and HTML together to get your desired results. [CODE] <?php $firstname = $_post['firstname']; $query_Recordset1 = "SELECT * FROM cust WHERE name='$firstname'"; $Recordset1 = mysql_query($query_Recordset1, $tests) or …

Member Avatar for johnbo100
0
2K
Member Avatar for akshayphp

I like the jquery library because your can change you code to be easier to read and look like this: [CODE] $('#elementId).change( function() { if ($('input:radio[name=bar]:checked').val() == 'Option A') { $('#element2).show(); } }) [/CODE] I think you have use a unique [B]ID[/B] for each radio button while you can use …

Member Avatar for svilla
0
176
Member Avatar for damnably

Some trojans attach themselves into the operating systems IP stack. The IP stack is basically a list of programs or processes that handle the data coming into your PC. Some trojans will embed themselves into this stack so their removal cause a 'hole' in the stack and the process is …

Member Avatar for jholland1964
0
251
Member Avatar for dnomde44

There is a comma before and after the WHERE clause. The last SET does not need a comma and ommma at the end will also cause an error. The last line of the SQL sould look like this [CODE] & "AdditionalInfo=@a34 WHERE (ID=@a35)", Con) [/CODE]

Member Avatar for dnomde44
0
165
Member Avatar for encodeme

All of the code between <?php and ?> is executed on the server and the variables that you are using in the PHP script do not retain their values. Once you submit a form the values are in the corresponding $_POST[] variables so your [B]if ($Submit) [/B] is acuually looking …

Member Avatar for IIM
0
2K
Member Avatar for ionko

You are opening and closing the PHP tags quite a bit, This is not necessary for most of your code. The script is going to be processed from top of the file to bottom. It appears that you are calculating the $total before you calculate the $carprice or $carcondition. In …

Member Avatar for ionko
0
253
Member Avatar for Farhad.idrees

You should be using || instead of |. The || is for comparison and the | is a bitwise operator and I do not think that you are trying to shift or combine bits.

Member Avatar for ddymacek
0
110
Member Avatar for MareoRaft

You can perform your own test inside the loop and use the [B]break[/B] statement to break out of the loop.

Member Avatar for svilla
0
96
Member Avatar for Sorcher

Are you connecting to the database with a mysql_connect()? You can echo out your $query variable, copy the SQL command and run the query directly against the database. This will return a specific error if there is a problem with the SQL statment. You should also check the validity of …

Member Avatar for IIM
0
106
Member Avatar for frstratd

I have been very successful removing Malware and virus with MalWareBytes. I have used this product to clean the laptops of students at the university I worked at. It is pretty thorough. The software can be found at [url]http://www.malwarebytes.org/[/url]. There is a free version which I have used exclusively and …

Member Avatar for jholland1964
0
541
Member Avatar for MayaPawar

You will need to look at a server side scripting language like PHP, JSP, ASP, ASP.Net, etc ...

Member Avatar for MayaPawar
0
122
Member Avatar for masterjiraya

[LIST=1] [*]Your hosting server needs to be running a webserver, hopefully runing on port 80. If not, just make a note of the port. [*]Get the ipaddress of the hosting server. [*]If there is a firewall running on the hosting server, make sure that you open that port. [*]Goto the …

Member Avatar for lasitha2005d
0
326
Member Avatar for Pro2000

ASP.NET is an application framework and one of the languages you can use in that framework is C#. So whatever restrictions are on ASP.NET are also on C#. If you want to use a Linux server then you will not be able to use C# and ASP.NET (I may stand …

Member Avatar for Pro2000
0
305
Member Avatar for jason830

Take a look at the [URL="http://headfirstlabs.com/"]Head First[/URL] books. They have an interesting way of looking at things. They are pretty easy to read and provide pretty good explanations and examples

Member Avatar for bhartman21
0
227
Member Avatar for chriselectrix
Member Avatar for bangla

Why do you have the [B]department[/B] table as part of the query? I would only guess that the last name resides in the employees table. You shoudl try something like this [B]UPDATE employees SET last_name = 'munir' WHERE emp_id = 11[/B]

Member Avatar for hfx642
0
79
Member Avatar for calebcook

Usually when you get that error message that you listed there is an error with the Query. When mysql_query returns a boolean instead of a result set it has caught some sort of error. Echo out the mysql_error and and mysql_errno, nonshatter's query should have worked. You can also try …

Member Avatar for klemme
0
184
Member Avatar for garwil

I am not sure what is in the variable $rateid that you are using in your Query variable, but I think you are constructing the SQL UPDATE command. it looks like the variable [B]$rateid[/B] holds the current rate variable and so does [B]$edit_id[/B]. So, for example if the rate ID …

Member Avatar for almostbob
0
160
Member Avatar for uselessninja
Member Avatar for apanimesh061

It would probably be easier if you declared a string and then moved it after the loop. I also declared a string variable so you don't have to mess with messageLabel and object notation inside the loop. This will print all of the numbers between 0 and 10 (inclusive). [CODE] …

Member Avatar for dnanetwork
0
151
Member Avatar for rajandass65

What are you asking? You are echoing the contents of a zip file so it will look like junk characters. You have to some how unzip the file either from the 'download' or via a php function. Here is the PHP manual with all of the zip functions: [url]http://php.net/manual/en/ref.zip.php[/url]

Member Avatar for svilla
0
110
Member Avatar for MavrickIT

Make sure that you check all of your includes and make sure that there are no extra lines before or after the opening an closing <?php ?> tags. In notepad this is often hard to see. If you cursor goes past the closing tag make sure you delete everything (even …

Member Avatar for diafol
0
160
Member Avatar for dmizz002

You may need to test to make sure that the value returned from the database is not a null before converting it.

Member Avatar for svilla
0
130
Member Avatar for jacob21

Are you just looking for a date picker to attach to a textbox or is there some other need for a month/day drop down list. If you look at jQuery there are a bunch of date picker apps already built. If you truly need a Month and Day drop down …

Member Avatar for vibhaJ
0
83
Member Avatar for destroyerx15

I am not sure what you are trying to accomplish with this code, but in order to update a record you have to use the SQL UPDATE command and specify which records you wish to update (with the WHERE clause) and which fields you wish to populate (with the SET …

Member Avatar for svilla
0
388
Member Avatar for dejanc

The Uppercase warnings look like the site was first built using the older HTML standards which allow upper and lower case in the tag names and attributes. Since moving over the it looks as if you are using the XHTML 1.0 standard which does not allow upper case in the …

Member Avatar for aspproject
0
271
Member Avatar for davy_yg

It sounds like PHP is not instaled correctly on your PC/Server. You can get the latest PHP download @ php.net. Make sure that you follow the install directions for PHP on IIS 7.0. Also... Make sure that you have told it that .php documents are to use the PHP ISAPI …

Member Avatar for svilla
0
178
Member Avatar for Joshua Kidd

Check the name of your submit button it should match what you put inside the $_POST[] array. I would guess that you capitalized the name on the button or forgot it completely.

Member Avatar for Joshua Kidd
0
107
Member Avatar for deadelgabar

I am not sure that it makes sense for a user to be able to change their password from a login screen. It would normally be a function that the user can access after they have logged on. Once the user is properly logged on, then you can present them …

Member Avatar for Ezzaral
0
140
Member Avatar for Baby.D

Try booting up in safe mode. I beleive that you press f8 after the toshiba screen (it might be f6). This should start the computer with the bare minimum of the operating system and most programs will not be loaded. You can then try your antivirus software. I use Malwarebytes, …

Member Avatar for svilla
0
96
Member Avatar for veledrom

You should always have server side validation regardless of whether or not you use client side validation. There are so many ways to send bad data to a web page you always want to make sure that it is clean before you process it or use it in any database …

Member Avatar for veledrom
0
936
Member Avatar for extemer

try [CODE]SELECT id, SUM(exam_Fee+transport_Fee) FROM fee_info group by id[/CODE] This will create a result set with two fields, the id and the sum of exam_Fee + transport_Fee. If you only want the sum for one record use the where clause. [CODE]SELECT SUM(exam_Fee+transport_Fee) FROM fee_info where id = 2313[/CODE] You could …

Member Avatar for crishjeny
0
123
Member Avatar for YMCMb

In Web Developer you can add Validation Controls which will validate the user's input on the client as well as on the server. Here is a video on how to use them: [url]http://www.asp.net/general/videos/how-do-i-use-validation-controls-in-aspnet[/url]

Member Avatar for crishjeny
-1
124
Member Avatar for Spycat

htdocs is the default root for apache servers, inetpub is the default root for windows server. But it looks like a hosted site and public_html is where your files shold reside. I do not see any issue with the resizing (of course I am using FF4.0) except that I am …

Member Avatar for Spycat
0
222
Member Avatar for HelenLF

There are javadcript functions to intercept the screen right click function: [url]http://javascript.internet.com/page-details/disable-images-click.html[/url] Any savvy user can easily circumvent this, but it does force the user to use a work around. I have seen another trick where the background for an element is set to the image you want and then …

Member Avatar for svilla
0
83
Member Avatar for fidolas7

You put a " (quote) at he wrong place near the end of the statement. WHERE id=' . "$_SESSION['uid'] should be WHERE id='" . $_SESSION['uid'] If you are not using an PHP editor, Netbeans has a PHP editor that would have helped you locate this error.

Member Avatar for tomato.pgn
0
133
Member Avatar for MSoft

Here is a good explanation [url]http://sharkysoft.com/tutorials/jsa/content/045.html[/url]

Member Avatar for MSoft
0
89
Member Avatar for karthik_ppts
Member Avatar for karthik_ppts
0
226
Member Avatar for soft_coder

There is a updatemode on the update panels that you can set to conditional. Here is a tutorial on how to use it: [url]http://www.asp.net/ajax/videos/how-do-i-use-the-conditional-updatemode-of-the-updatepanel[/url]

Member Avatar for soft_coder
0
110
Member Avatar for navp

If you are asking a question at this level I doubt very seriously that your teacher wants you to delve into ajax calls. PHP is a server side language and javascript is a client side language. In order to use PHP you have to have a web server with PHP …

Member Avatar for navp
0
262
Member Avatar for jenthevb

Your parms are reversed and the databse parm can be left out if you wish to use the last link open. Most pages only open one link anyway The Syntax (from the manual) is: [B]resource mysql_query ( string $query [, resource $link_identifier ] )[/B] [url]http://php.net/manual/en/function.mysql-query.php[/url]

Member Avatar for ariese
0
423

The End.