- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 10
- Posts with Upvotes
- 9
- Upvoting Members
- 8
- Downvotes Received
- 5
- Posts with Downvotes
- 5
- Downvoting Members
- 2
Born Again|Father|Software Developer|Gamer|Yooper|American|Dutch|Norwegian|Austin, TX - United States
- Interests
- Software Development, waryway.com, iwbtd.com
Re:
Hi, I am new to php and html, so I need some help with a problem: I am trying to make a form where you can select from a dropbox, but thae data from the dropbox should be retrieved from a sql database. If I save the code bellow as … |
|
Re:
Looking for conceptual help... I am writing a program in C++ to handle socket connections, eventually to be a websocket server. However, the rest of my stack uses PHP for serving up page. Is there a way to use PHP as an intermediary between the client (JS) and the application … |
|
Re:
I am doing a start up and am figuring out my stack. I've been using php for around 5 years now and am extremely familiar with it. However, I've recently been introduced to node.js and have seen it is on the rise. I'm not sure what to use for server … |
|
Re:
[URL="http://www.pcadvisor.co.uk/poll/index.cfm?action=showresults&pid=3228421"]A new poll into Operating System popularity by a British computer magazine[/URL] has revealed that an incredible 37 percent of respondents are still using Windows XP. That's more than Windows 7 which managed to woo 30 percent of the folk taking part, and Vista could only garner a pretty poor … |
|
Re:
Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very simple to use yet possesses the techniques seen in the more complex desktop applications such as Perl/Python/C/C++/C# etc. PHP has … |
|
Re:
hi there, for the last one week I am deliberately trying to solve my problem. **Pls help me** For your better understanding, Layout of my page is something like this : Part -A -------- [ Dropdown list ] [ TextBox ] [ Table -1 ] Part - B -------- [ … |
|
Re:
Good Morning All, I've worn myself out looking for the solution to integrating MailChimp APIs into my PHP scripts. Is there anyone in here that is familiar with doing that? I have the simple part done, where people can subscribe to a Newsletter to get more info, in which case … |
|
Re:
Hi everyone, I am still quite new to HTML and PHP. I have a form in HTML pointing to a PHP script that sends an email. But it doesn't work - please tell me where I am going wrong! The HTML is: <div class="main-content three-fourths"> <h1>Get in touch</h1> <p class="lead">We'd … |
|
Re:
<?php include("include/connect.php"); ?> <?php if(isset($_REQUEST['submitform1'])) { $timepicker1=$_REQUEST['timepicker1']; $timepicker2=$_REQUEST['timepicker2']; echo $timepicker1; echo $timepicker2; $timepick1=explode(":",$timepicker1); $timepick2=explode(":",$timepicker2); array_pop($timepick1); array_pop($timepick2); array_push($timepick1,"00"); array_push($timepick2,"00"); $time1=implode(":",$timepick1); $time2=implode(":",$timepick2); $timeone=preg_replace('/\s+/', '', $time1); $timetwo=preg_replace('/\s+/', '', $time2); $start_date = new DateTime($timeone); $since_start = $start_date->diff(new DateTime($timetwo)); $diff=$since_start->i; echo $diff; exit; } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Bootstrap Template</title> <meta … |
|
Re:
$time1=implode(":",$timepick1); $time2=implode(":",$timepick2); Result is 11 : 10 :00 11 : 11 :00 Any body help me to remove white spaces I want result 11:10:00 |
|
Re:
When I view my list in my admin I would like to be able to make sure the controller name is sorted asc Currently it does not sort alphabetically 'name' => ucwords(str_replace('_', ' ', $controller)), **Function** public function index() { $data['title'] = "User Group Permissions"; $controller_files = $this->get_installed_permissions('name'); $data['controller_files'] = … |
|
Re:
Could some 1 please tell how to do timestamps that not rely on users computer? time(); and UNIX_TIMESTAMP() seems to rely on users pc Thanks |
|
Re:
hi all! it might look similar to previous question but actually different.. i'm trying to calculate stock value. for this i want to use "average last purchase value" of item. like if closing stock is 14 and purchase detail is like this 2014/2/2 15pc @ 38000 2014/2/15 5pc @ 36000 … |
|
Re:
Hi all, I've a problem with my insert sql..I didn'y know why. here is my insert sql $goodsDesc = $_POST['goodsDesc']; $k8goodsQty = $_POST['k8goodsQty']; $valuePerUnit = $_POST['valuePerUnit']; $sql_k8goodsIn = "INSERT INTO k8_goodsin (k8regID,goodsDesc,k8goodsQty,valuePerUnit) VALUES ( '".$k8regID."', '".addslashes(strtoupper($goodsDesc[$y]))."', '".$k8goodsQty[$y]."', '".$valuePerUnit[$y]."')"; for goodsDesc the input is like this goodsDesc = 2-1/2" suction pump … |
|
Re:
here i have 3 tables. i want to display OfferDescription,OfferImage,offerPath based on spaid.becaz offerimage and offerdescription are added by using array.so its in different table. if i add companyname and 2 offerimage and 2 offerdescription its added in this 3 tables.after i have to display based on spaid value.i tried … |
|
Re:
Hello everyone, I have 2 of my php pages. I am starting a session in my first page and setting the setting variables but whenever I am trying to access that variable in the 2nd page it doesn't show an error neither it pops out my desired result. In short … |
|
Re:
I have the following code in my php files, but i am having a following error while loading my page? "Notice: Undefined variable: username in C:\xampp\htdocs\fyp\cms\cms.php on line 48" My page is successfully loading up, but username is not being shown in the page and the error is popped up … |
|
Re:
I have a bunch of insert querys running and some of them fail with a duplciate entry. I want to see a log where it says "Error: Duplicate key" and that tells me the EXACT INSERT query that fails so I can see what keys are duplicated. Thanks |
|
Re:
I'm working on an application for a joint-stock company. A joint-stock company is a business entity which is owned by shareholders. Each shareholder owns the portion of the company in proportion to his or her ownership of the company's shares (certificates of ownership). This allows for the unequal ownership of … |
|
Re:
Hello There, My problem is: I have declared an empty PHP array. and onsubmit of button I want to add the _post values to array at every time on my form. I am working this in Yii framwork. Array declred as: $skill_values_array=array(); button code <?php echo CHtml::submitButton(Yii::t($model, 'next'), array('id' => … |
|
Re:
hey so im trying to save data but i get error: `You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE event_id = '8'' at line 1` this being the line: `$sql = mysql_query("INSERT … |
|
Re:
i have a database 'phar' which need to subract its values 'stk' through the request made and gets updated to the db. i used arrays to do subraction.. but not able to store back the values to the db in its position.. my calculations work perfect, but not able to … |
|
Re:
I am trying to make it so that the snippet below automatically creates extra pages to show me all the followers I have on my Twitch Channel. At the moment I have it at 25, but it does cap at 100. How can I make it so that it automatically … |
|
Re:
<html> <body> <table border=3> <form action=checkpass.php method=post> <tr> <td>userid</td> <td><input type=text name=n1></td> </tr><br> <tr> <td>password</td> <td><input type=password name=n2></td> </tr><br> <tr> <td><input type=submit value=login></td><br> <td><a href=registration.html>Create new account</a></td> </tr> </form> </table> </body> </html> //checkpass.php <?php session_start(); include "connect.php"; ?> <?php $userid=$_POST['username']; $password=$_POST['password']; $q="select * from cust_details where userid='".$userid."' and password='".$password."'"; $s=mysql_query($q); … |
|
Ok, here goes, I've got a staticwindow where I am putting the information from keyboard presses and onscreen button presses. When I run the program, I can press the keys and they show up just fine. I then press the button on the screen with my mouse which also works. … |
|
Re:
I cannot assign my rawWord value to the string array. The program reads a value from testText.txt and then edits it. Then this manipulated char rawWord[20]'s value must be assigned to the string array word[i]. When i debug i see that rawWord is edited correctly, but when it comes to … |
|
Re:
Hello just Admit in a university and new in C++ i just wanted to know how to do area for several circle How to modify the code below to do the area of circle?? here's the code: [code=C]//Calculate area of a circle #include <cstdlib> #include <iostream> using namespace std; // … |
|
Re:
I am trying to get a WndProc Mapping solution to work so that I can avoid just making my WndProc static. In addition, a mapping solution is supposed to be great because I don't need to declare variables in my .cpp file, I can do it in my .h file … |