52,566 Archived Topics
Remove Filter ![]() | |
hey everyone. i am creating a seating system using php. it is to determine which people to their seats in the event. the problem is if I want to visualize the position of the seating using pictures in php is it possible? if yes, how can i do this? The … Web Development php | |
![]() | [CODE] <?php // initiate curl and set options $ipin = '69.72.129.3'; $ch = curl_init(); $ver = 'v1/'; $method = 'ipinfo/'; $apikey = '100.hva7qa7893wzcsc3x8dk'; $secret = 'uHZVvYK5'; $timestamp = gmdate('U'); // 1200603038 // echo $timestamp; $sig = md5($apikey . $secret . $timestamp); $service = 'http://api.quova.com/'; curl_setopt($ch, CURLOPT_URL, $service . $ver. $method. … ![]() |
I just started learning asp.net and i started with the hello world program.. i followed these steps.. 1) installed IIS server on my windows 7 ( but only installed , i dont know if it has anything to do with my program) 2) installed visual studio 2012 3) then in … Web Development asp.net visual-basic visual-studio web-browser | |
The error : syntax error, unexpected T_STRING But I checked all string objects and they worked separately.. [CODE]mysql_query("INSERT INTO downloadlogs(id, name, ip, time) VALUES('" . $Gid. "', '" . $nFile . "', '" . $IP . "', '" . date("l jS \of F Y h:i:s A") . "')")or die(mysql_error()); [/CODE] … | |
Hello all, I've been having an issue with php variables recently. I don't have much experience working with sessions, but I know that domain.com and [url]www.domain.com[/url] are viewed differently when working with sessions. The problem I have is with included files. I am calling .../logbook/header.php from ...logbook/Graphs/index.php. When I use … | |
Hi I'm trying to have a search facility on my site which performs search without refreshing the page. The only problem I have encountered is to be able to take the input which is typed in a search box and associate an onClick event with it that passes that value … Web Development html-css javascript | |
I am using a php script for sending email alerts to a list of recipients that I have in MySQL. I want to automate the unsubscribe process for recipients because right now I have a static page where they have to manually enter their info. Since anyways I am calling … ![]() | |
I have a MySql database that uses a time field to track when the entry was inserted. Now I want to query the table for entries by a time range. I would prefer to use MySql to extract the records instead of extracting all records then iterating and comparing time … | |
Hi, Is there a simple way of achieving this effect which I'm sure most of you who are on facebook are familiar with. What I want to do is when someone hovers over a picture, I want to have a box pop up to the top of it, and in … Web Development javascript | |
Hello, what am I doing wrong? It just errors out or posts blanks. [CODE]'$edate=implode('-', {$_POST['edate']})',[/CODE] Is the thing not working [CODE]<?php include_once 'resources/init.php'; $sql="INSERT INTO Client ( firstname, lastname, email, invoice, company, arenew, contact, wink, wint, wind, vtype, usera, yeara, sdate, edate, viprek, notes) VALUES ('$_POST[firstname]', '$_POST[lastname]', '$_POST[email]', '$_POST[invoice]', '$_POST[company]', … Web Development php ![]() | |
Hello. I need some help in solving a php code project. I have a combo box field (months) that pulls all 12 months from a MYSQL table. The combo box is populated using php. I want to know how can I evaluate the value in the Select tag to do … ![]() | |
I asked this basic question a couple of days ago but I probably didn't include enough information in my question. Sorry for reposting, but I am really lost here. This is a web application in VB.net connecting to an Access database on a 2003 server. The problem: I have a … Web Development asp.net microsoft-access sql | |
Can someone explina me this error on 42 I have to make Questionnaire with database so I made it like this but won't load site. here is code [CODE]<?php include 'config.php'; $err = array(); if($_POST['doAnketa'] == 'Anketa') { foreach($_POST as $key => $value) { $data[$key] = filter($value); } if(empty($err)) { … Web Development php | |
Hi, The following code is working without errors: [CODE] <table> <tr> <td>Booking No.</td> <td>Driver Id</td> <td>Time Booked</td> <td>From</td> <td>Pick Up Time</td> <td>To</td> <td>No. of Passengers</td> <td>Distance</td> <td>Cost</td> </tr> <?php $stmt = $dbh->prepare("SELECT * FROM Booking WHERE cust_id = '$username' "); $stmt->execute(); while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ echo "<tr><td>".$row['booking_no']."</td>". $row['driver_id']."</td>". $row['time_booked']."</td>". $row['pick_up_dest']."</td>". $row['pick_up_time']."</td>". … Web Development php programming-construct | |
Hi, I have a While Loop to display my MySQL info. This makes a list of all my data, in one row. But what I want is it to display it in a table with 5 columns so that the data is more readable. this is my code: [CODE] while … Web Development php | |
hello send me free download link of mysql for asp.net and how i connect it with asp.net | |
I am a student , I dont know much for the php , I using the HTML ,PHP, XAMPP and MYSQL The 3 tier architecture normally are consider Model ,view and controller. For the part of controller , Normally how are you people coding , I really need help . … Web Development php | |
Hello I am trying to make a friend request system and I have it so it displays all the friend request and at the end there is a button that says "Yes" and one that says "No" I would like the Yes button to change "0" to "1" and No … Web Development php | |
I know that php is same like HTML. I have the codings. But wondering how to execute it...? I use Dreamweaver but in vain.. i get no result.. some body pls help me.. It asks me to set a server for it. Though i set, no result obtained...! Web Development php | |
Hi, I want to get information from each session set, EXCEPT when the session name is 'navigation': So basically: Create an exception for the session called 'navigation'.. [CODE] foreach ($_SESSION as $name => $value) // $name = navn pÃ¥ session: f.eks. 1 eller 2 - $value indeholder antallet der er … Web Development php programming-construct session | |
There are two javascript function . the second method would call the first function passing two parameter. in load_wood_excel function i am not able to access the parameter.. can any ony tel me how to pass interger , and also how to access the parameter in function???????? function load_wood_excel(row,column){ alert(row); … Web Development javascript | |
Hi, I need some deep knowledge Regex Vs Dom. Is Regex much faster then Dom or not? Like processing speed, reliable or not . If any one share link or article it helpful for me. | |
Good day! I am a newbie in jquery. I want to create a multicolumn select box that may look like this. [IMG]http://www.codeproject.com/KB/combobox/multicolumncombo/comboOpen.jpg[/IMG] I am planning to do it in a table that work just like a standard select box but the problem is I dont know how. could anybody show … Web Development javascript javascript-jquery | |
Hi, i'm doing a page where user can register and give up of a course: [CODE]<td width="5%"> </td> <td> PROGRAMAÇÃO: <br/> <?PHP $cc=$_GET['cod']; $sql_prog = "SELECT prog_curso FROM cursos WHERE cod_curso=".$cc; $query_prog = mysql_query($sql_prog, $connect); while ($row = mysql_fetch_array($query_prog)) { echo $row['prog_curso']; } ?> <br/> </td> <?PHP if(is_logged()) { ?> … | |
How to start a servlet automatically when index.jsp starts. To put it simple, here is the index.jsp file. [CODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <title>JSP Test</title> </head> <body> I want to put something here, so a servlet automatically starts without doing anything. </body> </html> [/CODE] Web Development java-jsp | |
Hi all i want to check regular expression of a text field value i.e. it should not contain any '.,@' and other special characters except '_' and '-'. How can i write my rule in [code]preg_match()[/code] ? | |
Hi all, I have a login page in localhost(website link : [url]www.csoftindia.net[/url]) . When I logged in it is showing alternate html "you are logged in as..." but when moving another page like news or other page session is lost either or it is not destroying session. Subrata | |
I am using mysql_fetch_array to fetch result from a table of my database and I want to exclude results from particular users from being fetch together with others. Example: [CODE]$result = mysql_query("SELECT * FROM users") or die(mysql_error()); echo "<table border='1' cellpadding='10'>"; echo "<tr> <th>ID</th> <th>First Name</th> <th>Last Name</th> <th>Sex</th> <th>Username</th></tr>"; … Web Development php | |
Hi, I am using the 'DataGridViewCheckBoxColumn' class to show the checkbox in each row of gridview. The checkboxes require 0 & 1 values to show the checkboxes checked and unchecked. The select query which builds the datasource for Gridview shows the 0 & 1 values being fetched from database. Now … Web Development asp.net | |
I know that php can validate data input before querying to the database but which is more preferable by the developer or user experience? validation thru php? or validation thru javascript? whats your insight about this? thank you! Web Development client-server php | |
hi i'm a newbie in php, plz help me with this. how can i put the value of my database to a textbox? can u give me a sample code.. thx... Web Development php | |
Hi all I have declared a Session variable in web handler i-e .ashx file like below [CODE] int SaleID; HttpContext.Current.Session["tempSaleID"] = SaleID; [/CODE] Now i want to remove this Session variable in class file i-e .cs In normal cases Session variable are removed using [CODE] Session.Remove("SaleID"); [/CODE] but in this … | |
i know this is a simple error but i just couldnt spot the error and i run the query seems fine. really appreciated... pleasee help Parse error: syntax error, unexpected '=' in D:\xampp\htdocs\book\admin-order-details.php on line 16 [CODE] <?php $objConnect = mysql_connect("localhost","root","boon84") or die(mysql_error()); $objDB = mysql_select_db("db-test"); $id = $_GET['id']; strSQL … Web Development php | |
I have a function that changes slides, I have created a pause and resume functions for it, but when the user presses resume button multiple times, then multiple instances of the script is beeing run and the images change too fast. I need to prevent this from happening. This is … Web Development javascript | |
jQuery issue here. After calling some ajax, I'm having a problem getting a particular div to reload a php file. The only solution that I've come up with is to completely reload the page, but this is really undesirable, because this function is being used as part of a simple … Web Development javascript javascript-jquery php | |
HI I am using - ASP.Net - C# - SQL Server Express 2008 R2 I have a table called customers which contains all customer details and a stored procedure which gets: - Total No Of Customers - Total No Of Customers in Region1 - Total No Of Customers in Region2 … | |
After successfully creating a registering system I can't use the login system I've created, it always gives the error message I've set "Wrong Email or Password" although the values are right! The code for validating the login process: [CODE] <?php $con = mysql_connect("***","*****","****"); mysql_select_db("*****", $con); $emailin=$_POST['emailin']; $passwordin=$_POST['password']; $emailin = stripslashes($emailin); … Web Development php | |
I Need A Code To remove The Attribute (( Disabled )) From Submit Button When All Fields Are Filled Out This is My Code <form name='vbform' method="post" action="ins_advs.php"> <fieldset> <legend class='master'>Title</legend> Name <input class="regform2" type="text" name="title" size="40" maxlength="15" /> </fieldset> <fieldset> <legend class='master'>Details</legend> <textarea class="textareades" cols="86" rows="3" maxlength="50" name="full"></textarea> </fieldset> … Web Development javascript | |
hi, i'm trying to add a background color to a element which is positioned before the identified tag. for example, i know the class of one elment and i have a list like below. [CODE] <ul id="one"> <li><a href='#'>text0</a></li> <li><a href='#'>text1</a> <ul> <li><a href='#'>text2</a></li> <li><a href='#'>text3</a> <ul> <li class="item-1"><a href='#' … Web Development html-css javascript javascript-jquery | |
Hi all, i have taken from net script that it has curriying function which itself return function. But i dont understand why before [B]\$arg[/B] is added backslash. the same as on lines 10, 13, 19 and so on. [CODE]function add($a, $b) { return $a + $b; } $az=""; function _curry( … Web Development php | |
Hello.. I'm the newbie one. I have the file in php. I cannot solving the notice about [COLOR="Red"]Notice: Undefined index: add_item1 in C:\xampp\htdocs\guideline\xmladd_evidence.php on line 44[/COLOR] How to solving that? here my code [CODE] <html> <font size="20" face="arial" color="black"> <center><b> Add item evidence </b></center><br><hr/> </font> <form ACTION="" METHOD="POST"> <select name='add_item1[]' … Web Development php | |
Hi Guys, I am happy to be part of our group here.... I need some clarifications in Ip Camera Streaming.... I have a webpage ie displaying live camera streaming video and control buttons(left,right,up and down) in one aspx page. My problem is when i click any one of the button … Web Development asp lan-wan streaming-service | |
hi, am getting the following error: Parse error: syntax error, unexpected T_STRING in C:\wamp\www\pro\Copy of procreate.php on line 268 but i am unable to find the error. here is my code <?php // Get values sent to page from user form input $space=$_POST['space']; $exten=$_POST['exten']; Echo "Writing file..."; $myFile = "$exten.cfg"; … | |
Hello, how's everyone? I have created a page with a form for registration and and another php to process the registration and create the rows in the database, but the processor comes with errors. here is the PHP file: [CODE]<?php include 'dbconnect.php'; mysql_query("INSERT INTO users (firstname, lastname, email, password) VALUES … Web Development php | |
hello ! i am very new in webdevelopment , i want to use ExtJs , please help me , i download the extjs-4.0.1 .now please tell me how to import it in my project , i mean is i copy this extjs-4.0.1 to my project or is there is another … Web Development asp.net javascript json ![]() | |
hello experts I have one problem that when i create a store procedure with two sqlquerysuch as(1,2 query) and after some days (2 days),i create 3rd query on that same produre name.then my 3rd query not work on aspx page.But when i make another procedure with same 3rd query it … Web Development asp.net | |
Ok over the last several weeks i've been building a website for fun. Its basically a forum site, with topics and comments. I use queries in their basic form. Now that i'm trying to protect my site I'm getting the impression that i have to rewrite all of my code. … Web Development cybersecurity mysql php sql | |
Hello, I am creating an API in WCF (.NET 4, C# ). I am taking a .NET List as input from client. my only concern is that if my client is in a language other than .NET (like java), can i still accept List as an input and consume it … | |
Does anyone would help me how dto update my shopping cart quantity please. here my php code function updateCart() { $cartId = $_POST['hidCartId']; $productId = $_POST['hidProductId']; $itemQty = $_POST['txtQty']; $numItem = count($itemQty); $numDeleted = 0; $notice = ''; for ($i = 0; $i < $itemQty; $i++) { $newQty = (int)$itemQty[$i]; … Web Development php | |
Hi there I am writing ASP.NET app I want to access gif images stored in Images folder which is in turn stored in Project folder. See my [URL="http://img834.imageshack.us/img834/8765/capturenqm.png"]Solution Explorer[/URL]. In GetImage.ashx (see solution explorer), I am unable to get images using this: System.IO.FileStream _FileStream = new System.IO.FileStream([COLOR="Red"][B]"~/Images/" + imageFileName + … Web Development asp asp.net microsoft-access |
The End.