- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: 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. | |
| Re: See this thread: [url]http://www.daniweb.com/web-development/php/threads/359979[/url] |
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 … | |
Re: 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 … | |
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 … | |
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" … | |
Re: 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. | |
Re: Look Here: [url]http://www.w3enterprises.com/articles/using.aspx[/url] | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: You can perform your own test inside the loop and use the [B]break[/B] statement to break out of the loop. | |
Re: 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 … | |
Re: 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 … | |
Re: You will need to look at a server side scripting language like PHP, JSP, ASP, ASP.Net, etc ... | |
Re: [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 … | |
Re: 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 … | |
Re: 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 | |
Re: Remove the [B]style="height:0px"[/B] from the [B]flags [/B]div. | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
Re: [url]http://javascript.about.com/library/bltoword.htm[/url] | |
Re: 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] … | |
Re: 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] |