52,566 Archived Topics
Remove Filter ![]() | |
This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, … Web Development asp asp.net objective-c open-source sql visual-studio | |
Hi all I have made a website for a client, a little like a small forum. There are these inputs when starting a new thread: Headline URL Content In the URL they can type only letters numbers and a "-". So that their threads URL can be like [url]http://www.something.com/show/this-is-my-thread[/url] But … Web Development php | |
hi friends i want to develop a site which uses the google search results and modifies them on some conditions. now i need to know which API to use to get google search response. is there any way to get XML/JSON response from the google for user search. please guide … | |
Hello all, i have two arrays i.e [CODE]$ar1=array("Mobile","shop","software","hardware");[/CODE] and [CODE]$arr2=arry("shop","Mobile","shop","software","shop")[/CODE] i want to compare the elements of arr2 to arr1 i.e [CODE]foreach($arr2 as $val) { if(in_array($val, $arr1)) { //mycode to insert data into mysql table variable++; // here there should be a variable that must be increamented when ever match … Web Development php | |
![]() | Hi people, I get an error when performing the following request: [CODE] $query=" SELECT * FROM vessel,cargo,customer ORDER BY ladate DESC WHERE vessel.id=cargo.id AND vessel.id=customer.id LIMIT $eu, $limit";[/CODE] it is about the ORDER BY ladate DESC Can you you show me where I should write ORDER BY in the correct … ![]() |
I am trying to connect myphpadmin.. when i use 'localhost' i can connect easily to myphpadmin but when i replace localhost to my ip address i got an error it says Forbidden You don't have permission to access /phpmyadmin/ on this server. I've already change the privileges but still i … Web Development php | |
I have some code that adds and removes rows from html tables, the problem is that it does not save the rows if the page is submitted or refreshed. I also cannot see the added attributes in the source(how can i use them)what their ids and names are, so i … Web Development javascript oracle | |
Anyone can tell my why it keeps saving at My Documents? [CODE] $newfile = 'temp.xls'; $wkb->SaveAs($newfile); [/CODE] If I [B]echo[/B] $newfile, it will display 'http://localhost/test/excel/temps.xls' Its suppose to save it at same level right? wrong, it keeps saving at "My Documents" How is that possible? Thanks Web Development php | |
hi all, im current doing a assignment, i looking for a solution for my problem, now i have a database to store my item information include item name,id,content,price. actually it is a bidding system, if someone bid on the item, the item id will stored into the buyer informatio, and … Web Development php | |
I am getting the following error.................. [QUOTE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the generated java file Only a … Web Development apache http-protocol java-jsp | |
[code] <% if (this._arr_design.Count > 0) { %> <% foreach (Ameronix.Teeone.Models.Design obj_design in this._arr_design) { %> <tr> <td style="width: 254px; height: 27px;"><%= obj_design.name_design.ToString() %> <div class="thumbnails"> <% foreach (System.Collections.Generic.KeyValuePair<int, Ameronix.Teeone.Models.DesignSection> kvp in obj_design.arr_design_section) { %> <div class="thumbnail"><a href="/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg" rel="lightbox"><img src="../resources/get_image.aspx?src=/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg&width=50&height=50" /></a></div> C# … | |
Hi Can anyone help me. I need to display the username in the lable of the masterpage. But I also have to show the logo of the business of the user. How should I do this! Regards Weppies | |
Need to find code for one way folder sync. I deliver a flash drive to users with an html front-end, leading them to the pdf file they need. I am creating a web site for the user to go to, click on a button and have them down load updated … ![]() | |
I wanna showing the user name in every page when they are s successfully login to the page .But dun knoe why it cannot work~~ This is for login page ~~ [CODE]<?php require_once('../../../Connections/admin_db.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION … | |
Hey there i have some code i need to update multiple records at one time. can i get some help. i have a page that selects what team i want to edit the stats for. then it sends it to another page where i can make changes to the stats. … Web Development php | |
Hi there, Im getting the error above, when i run my code. [code] string myCommand = "SELECT * FROM Manager WHERE UserName=" + ID; SqlDataAdapter da = new SqlDataAdapter(myCommand, con); DataSet ds = new DataSet(); try { con.Open(); da.Fill(ds); [B]// <- highlighting this part of the code..[/B] } finally { … | |
i have this code in aspx page [CODE] <div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkout','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> </div>[/CODE] [CODE]<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="calendar.aspx.vb" Inherits="gfln1.calendar_aspx" %> <!DOCTYPE html PUBLIC "-//W3C//DTD … Web Development javascript | |
Hi, I have a problem. I'm working on one project. I want to find file which contains site logo words. Ftp has a tone of files, so I can't search file by file. I guess there is no way to get content of .php file in string? So I can … Web Development php | |
hello, need help from you guys. ok, i have create a prompt box that will ask user to enter a password, and this prompt box will take user to secured page. [CODE] <script type="text/javascript"> function show_prompt() { var name=prompt("Please enter your password","Fill Here"); if (name!=null && name!="") { location.href="index.php"; } … | |
Hi, I am working on some php based job. When I am accessing the pages from the same system (localhost) using IE, its work fine. But when I am trying to open the pages from a remote system using IE, the php part is not displaying. But Firefox is giving … ![]() | |
I tried to execute a php code using Wamp Server and PHP 5. it didn't work with me properly. When i executed it All times the php code content itself is coming not the things we expect. I tried with NetBeans IDE too. It returned as Connection Failed. How to … | |
I have code like this, it shows data when tehre is data but if there is no data i want to say "no records" where am i going wrong? [CODE]<?php require_once('db_conf.php'); $sql = "SELECT * FROM tbl_holidayspecials WHERE fld_country = '$countryname' AND fld_state = '$statename' AND fld_city = '$cityname'"; $result … | |
Hi, i am new here and complete amateur to PHP. I get the above error on line 2. but i don't get it? Can someone help please? [CODE] <?php function bp_dtheme_add_custom_header_support() { $get_current_scheme = get_option('dev_buddydaily_custom_style'); if(($get_current_scheme == '') || ($get_current_scheme == 'default.css')) { $headerpath = "%s/library/styles/images/default_header.jpg"; } else{ $headerpath = … | |
So.. I dont know why i cant find a specific tutorial / tip on this, so i'll ask you guys. I'm trying to get $date to get the current date and insert it as the query executes. [CODE]$result=mysql_query("INSERT INTO articles (`loginid`,`title`,`author`,`body`,`date`,`category`) VALUES ('$loginid','$title','$author','$body','$date','$category')") [/CODE] this is my Database. [CODE]CREATE TABLE … | |
I am trying to update a mysql entry. Getting this error; [CODE]Insert 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 '('loginid='15',title='Test',author='Sorcher',body=' Yeah just testing this aga' at line 1[/CODE] [CODE]if ($_GET['edit']){ $getedit … | |
![]() | How can I retrieve an entire database in JSP and compare the first record with the first parameter obtained from a HTML form, the second record with the second parameter obtained from the HTML form and so on..?? Here is my code: MS-ACCESS database:- database name: question table name : … ![]() |
Hello everyone. I am working on this forum/post/script type thing. What I want to do is convert this example to HTML. [div] [p]Some text[/] [div] Some more text [/] [/] ---> <div> <p>Some text</p> <div> Some more text </div> </div> I don't want to use [/div] or [/p] to keep … | |
This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, … Web Development asp objective-c open-source sql visual-studio | |
I have used if($_FILES['file']['type']) but it does not upload it. Can anyone help me. I'll be thankful t you. Web Development php | |
Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); … Web Development javascript | |
Fadein and FadeOut is not supported by IE8. Please let me know any way to fix that. ![]() | |
Dear All, In my database I store different vehicles. So each vehicle have different setup of the wheels e.g some 2 infront and 4 at the back some 2 infront and 8 at the back etc. So based on this configuration I would like to programmatically show all the wheels … Web Development php ![]() | |
Hi, I created an image button and i would like to put a bmp image icon i can't figure out how. I putted my icon in the bin and gave the imageURL: Bin\IconRegister.bmp In the interface the picture is shown put when i run the web appliction it does not … | |
Good day all: Is there a mechanism through which I can have a button on my html form which on click calls a script that converts the form (or the html page) into a pdf file and inserts the file into mysql table with a specified name originating from the … | |
Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); … Web Development javascript | |
Alright, so I am creating a website for an upcoming band and they want a website. I was planning on using Wordpress, but ran into problems when trying to display a list of songs. What is the best way to have a page list songs in Wordpress? Do you recommend … | |
I have the login page created that captures the userid & also an edit page that shows all info of a certain table in database. Trying to figure out when a user views the edit page to have it only show the info the user created. Making it only possible … | |
i made a jsp page, now i made a LAN named "ar", and connected another computer with "ar" network. Now i want that the client computer i.e. computer 2 should access my jsp page which is arsh.html , how to do this????? My approach: i set my IP as 192.16.1.44 … | |
I have two combo boxes, Country and Cities. I user clicks Country Combo box its corresponding value will fetch from DB and fill into its child combo box (also came from DB) Web Development php ![]() | |
Hi, I created a new Virtual Directory in Windows Server 2003 . But when i click Browse I'm getting this error: [B] System.Data.SqlClient.SqlException: Invalid object name 'tempdb.dbo.ASPStateTempApplications'. [/B] Can someone please help me to solve this issue. Regards, Pavan Kumar Web Development asp.net windows-server | |
i have a Menu that show or hide than a rolls the mouse pointer into ( mouseover ) and ( mouseout ) an element's space. But whan i fire mouseout an element space to hide menu, the open shave works only if i move mouse pointer an top eletment list … Web Development javascript | |
how do i acces a persons webcam with php, such as the one from chatroullette ![]() | |
It wont work, the script might be messed up, please help / give a hint, i'll rep any help. [CODE]<?php session_start(); error_reporting(E_ALL); //////POST STATEMENTS/////////// $loginid = $_POST['loginid']; $title = $_POST['title']; $author = $_POST['author']; $body = $_POST['body']; $category = $_POST['category']; $dbLink = new mysqli('xxxxx.xxxxxx.com', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx'); if(mysqli_connect_errno()) { die("MySQL connection … Web Development first-post mysql php | |
Can anyone see why this dos not work please [CODE]<HTML><HEAD><script type="text/javascript"> function x() { <IFRAME( src="inputstringA" name = "bob1" ></IFRAME> ); } </script><TITLE></TITLE><META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD><BODY> <INPUT value=www.website2.com name=inputstringA> <INPUT onclick="x()" value=" Press Input A$" type="button" name="loadb"></TD> <IFRAME src="www.website1.com" name = "bob1" ></IFRAME></TD><TD align="center" width="556" vAlign="top" height="23"> ></BODY></HTML>[/CODE] Web Development display html-css javascript | |
Guys, right now i am posting xml to a service running on certain port. my sample code is [CODE] Quote: $XPost = fread($handle, filesize($xmlfile)); fclose($handle); $ch = curl_init(); // initialize curl handle curl_setopt($ch, CURLOPT_VERBOSE, 1); // set url to post to curl_setopt($ch, CURLOPT_URL, $URL); // set url to post to … | |
Hello world, I need your help/advice, I have a table last_acces where inserting a few data. The table columns are: Id Name Date I want to export this data into excel clicking on the link or button from the page. Anyone could help me on this please? The action will … Web Development microsoft-office php sql | |
Hello, I would like help in change a bit the following code. It shows google map, but I would like to show google street view. Can you tell me what I need to do/change? I donĀ“t understand very well code. Thanks in advance. This is the code: [code]<?php // =============================== … Web Development google google-api php seo | |
i would like some help with making my search box work on my forum, at the moment when u type anything in it just refreshes the page and the same page is shown. I want it to show the thread if some types in say 'hello' it should show threads … Web Development php | |
Hello, I have a form that I need to add the feilds together as a total but it is not working. I have a JS that is doing taking the value from a select box then multiplying by .2 after this is done it is writting the result to another … Web Development javascript |
The End.