52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PHPuss

I have two problems... Here is code : <?php // Create connection to Oracle $conn = oci_connect("root", "admin", "//127.0.0.1/xe"); $query = 'select * from TEST_RESULTS'; $stid = oci_parse($conn, $query); $r = oci_execute($stid); print '</br>'; // Fetch each row in an associative array print '<b> MONITORING SRODOWISK TESTOWYCH </br>'; print '</br>'; …

Web Development html-css oracle php
Member Avatar for Squidge
0
1K
Member Avatar for laura301019

Hi so i have a table created and it is to display the users age in column one, then in the second column half of the age and the last column is to display double the age. I know how to do this part, however the next part is to …

Web Development php
Member Avatar for laura301019
0
108
Member Avatar for arctushar

I need this tricks 1. http://xxx.com/7:4 will be http://xxx.com?volume=7&chapter=4 2. http://xxx.com/7/4 will be http://xxx.com?volume=7&chapter=4 3. http://xxx.com/yyy will be http://xxx.com?find=yyy is there any option? plz help me

Web Development
Member Avatar for arctushar
0
80
Member Avatar for akuvidz

i have problem with my code, it didn't say any error but it wont receive a data from the textfield.. is there something wrong with my code? here is the code.. <?php include('config.php'); $email=$_REQUEST['email']; $sql ="SELECT * from employee where emp_work_email = '$email'"; $hasil=mysql_query($sql) or die("E-mail is invalid".mysql_error()); $data=mysql_fetch_array($hasil); $sql1 …

Web Development php
Member Avatar for jayan.bee
0
149
Member Avatar for CarterLangley

Hi again guys, I am getting information from a table that I would dearly love to format using my css styles in an external css sheet. Now I am calling the sheet in the header correctly, tested that to make sure. Here is the code I am using. This generates …

Web Development html-css mysql php
Member Avatar for CarterLangley
0
418
Member Avatar for gk1993

$u = mysql_real_escape_string($_POST["username"]); $p = sha1($_POST["passwd"]); $q = "SELECT * FROM profile WHERE email=`$u` AND passwd=`$p`"; $run = mysql_query($q); if(!$run){ echo mysql_error(); } this creates *Unknown column 'mymail@gmail.com' in 'where clause'* error. This code is from a tutorial and a piece of a submit-new-post php page.

Web Development mysql php
Member Avatar for gk1993
0
162
Member Avatar for Hazuan Nazri

Hello, i need some help here, i want to change Edit,Select,Delete linkbutton in the gridview to be outside the gridview, i have tried to hide the 3 button and make another button outside gridview, but i dont know how to make a link between all the button. this is my …

Web Development asp.net gui
0
181
Member Avatar for LinkedList

Hi guys. I want to start my website for the business purpose. I have an average knowledge of ASP.NET with C# Now I want to create a website like [zbigz.com](http://www.zbigz.com) which can be able to generate the direct links for the files combined in a .torrent file. But I have …

Web Development asp.net
Member Avatar for nakor77
0
400
Member Avatar for thomasjc

This may already be out there in the forums, but I really don't know what to search for to find it. What I'm looking for is a way to have a dropdown filled with values, and have it select a value from the database and display it. For example. On …

Web Development php
Member Avatar for almostbob
0
932
Member Avatar for <M/>

I am building a contact form, and I made it out of html and css, but I can't apply php to it in order to make it functional... I wanted it to have the abilities to notify me if someone submits form, the ability to only apply valid information, and …

Web Development html-css php
Member Avatar for <M/>
0
266
Member Avatar for stevanity

Im from Chennai, India. And my university is Anna University. Our results are published in their website and in couple of others. Our college staff go into each url for each student and copy marks and do analysis stuff. Im working on a project to help them do it automatically. …

Web Development html-css perl ruby
Member Avatar for pritaeas
0
251
Member Avatar for aianne

Hello everyone! I am a student and still a noob in PHP. Well, I'm trying to figure out what is the best method for a log in page system that provide the ability for an Administrator to log in using the same log in form for normal users but get …

Web Development php session
Member Avatar for DarkMonarch
0
199
Member Avatar for crimmelcp

Does anyone have a example of a Purchase order form that allows multiple line items and pricing Thanks Charlie Crimmel [email]crimmelcp@suddenlink.net[/email]

Web Development php
Member Avatar for aw88750
0
1K
Member Avatar for rotten69

Hi there, why does the sort function not sort out numeric values depending on their values(large to small or small to large)? var drinks1 = [40,30,10,20,100]; println(drinks1.sort()); // this will give you 10, 100, 20, 30, 40 it sorts those values as follows: 10,100,20,30,40 Is there a way of changing …

Web Development javascript
Member Avatar for pritaeas
0
277
Member Avatar for extjac

hello, i was wondering if you could tell me what would you diffent/better on the following code. I am trying to become a better developer and i would like to learn what the best PHP pratice is. I remove the comments to make it a bit cleaner //THIS IS THE …

Web Development php
Member Avatar for pritaeas
0
404
Member Avatar for ayat abukhadra

Hi, if I'm building a website for mobile the only thing that differs from desktop website is the size of the screen ? or there's additional things i have to change to be able to browse my site on mobiles ?

Web Development asp.net
Member Avatar for ayat abukhadra
0
130
Member Avatar for GlenRogers

Hi, I've never used php or mysql but I need to I madee a site for a friends reptile pet shop. Now I need to make him an admin panel so he can update his availablity section his special offers section and most importantly he can add pictures to his …

Web Development php
Member Avatar for sesan2007
0
162
Member Avatar for aparnesh

Can I transfer some data, which the user enters into a pop up window, to the page which called the pop-up window ? The Main page is in a frame. When the user clicks a button on the main page, a pop-up opens showing some choices. After the user selects …

Web Development asp javascript
Member Avatar for moji013
0
198
Member Avatar for MArun25039

Hello, The below code is mean to hit or show some data based on checkbox is checked off or not using Javascript. I found a bit of code on a Forum and tried modifying it. I'm trying to see if it's possible show data based on multiple Div Tags. For …

Web Development html-css javascript
Member Avatar for Taywin
0
2K
Member Avatar for ryantroop

Having a little trouble getting my "pre-loader" to show properly... I would assume, what this script would do is that once xmlhttp is invoked, JS would make a div with an ID called 'preload' and it will persist until we get a 400 response from the server, and then destroy …

Web Development javascript
Member Avatar for Taywin
0
142
Member Avatar for rayidi

Hie all, I'm developing a bulk sms website, there are users and resellers for the site. I want to map my to another ip through A record. Problem is how to identify the ip user / reseller ? Please help me.

Web Development lan-wan php
Member Avatar for rayidi
0
233
Member Avatar for mir.jde

Hi Every Body I have been working on a project Where user has to login and edit contents of his web The thing happening is every page is working fine and there is no error except only in one page & which is freaking me out.....when i hit submit button …

Web Development php session
Member Avatar for mir.jde
0
441
Member Avatar for gauravbhandari

Hi Friends, Can anyone one have an idea about how we make cron in php. I mean i have to records of 6000 email id and we have to send mail them randomly selected email templates with in 48 hour. Once student got the mail from then from the database …

Web Development php
Member Avatar for extjac
0
215
Member Avatar for tapuwa2002

Hi Please could you assist I have made a validaion. But when the correct field is not entered properly. Validation works but the javascript pop does show please see code below. <CFIF email IS (find("@",address)) neq 1> <CFLOCATION URL="error.cfm?PassedError=Please%20Supply us email address."> <CFABORT> <script type="text/javascript"> alert('Please Check Your Email'); </script> …

Web Development coldfusion
Member Avatar for arrgh
0
285
Member Avatar for Decamm

Hi there, here i post new article because need to improve my upload function. What i want is to make my selecting item for uploading file to be multiple select, only by pressing "ctrl" button, like yahoo mail does. Here I create a code for upload file but the problem …

Web Development coldfusion file-system
Member Avatar for arrgh
0
222
Member Avatar for vishalonne

Hi All I am getting an warning on my web page when I uploaded the page on server I just writing a PHP PAge Hit Counter- Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/cbsecpsn/public_html/csnip/form_453570.php:7) in /home/cbsecpsn/public_html/csnip/counter.php on line 2 Warning: session_start() [function.session-start]: …

Web Development php session
Member Avatar for vishalonne
0
360
Member Avatar for SolidSora

I've got a photo gallery on my website, but it seems to glitch at case 3 in my prevPic function. Instead of going backward, it goes forward. In each case, I want it to decrease the imgNum and show the previous picture. Here is some code: function prevPic(){ /*imgNum = …

Web Development javascript
Member Avatar for Taywin
0
146
Member Avatar for odee

need help here. how can i change the src in <embed> using javascript that works in firefox? ex. [code]<embed src="music.mid">[/code] - how can i change "music.mid" to another midi file.

Web Development javascript
Member Avatar for Taywin
0
5K
Member Avatar for PBDeveloper

I am trying to add the information below into a Wordpress database table (specifically the wp_postmeta table). But I can't figure out how to add the ones with the same node name. The XML document is: <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:excerpt="http://wordpress.org/export/1.1/excerpt/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wp="http://wordpress.org/export/1.1/" > <channel> <title>Title</title> …

Web Development mysql php xml
Member Avatar for pritaeas
0
221
Member Avatar for magicmarkuk

Hi I have a question regarding the way my site deals with areas that are generated via Javascript not updating to the latest information when using IE9 but working perfectly on FireFox. I appreciate this may be like looking for a needle in a haystack but I would appreciate some …

Web Development javascript web-browser
Member Avatar for Troy III
0
190
Member Avatar for magicmarkuk

Hi I have a script which displays a price but currently is not fixed to 2 decimal places so a price such as $2.50 shows as $2.5 which to me looks wrong. The line of code is `amount += parseFloat($(this).metadata().amount);` Looking around I see there is a function `toFixed()` but …

Web Development javascript
Member Avatar for Troy III
0
217
Member Avatar for shahidr100

Hi, I am trying to populate 4 dropdowns. Each one is related to other. Dropdown 1 has predefined values. On selecting data from Dropdown1, dropdown2 populates. On selecting data from dropdown2, dropdown 3 populates accordingly. But nothing is working. Please help. I am not even sure whether my scripts are …

Web Development html-css javascript php
Member Avatar for shahidr100
0
2K
Member Avatar for rotten69

Hi everyone, I'm just looking for some graph makers for the data we have in our database. We would like to analyse the data taken out of the database and present it in a graph format to see who has got low/high ranks. Is there any free API that we …

Web Development api php
Member Avatar for gabrielcastillo
0
178
Member Avatar for menukadevinda

hi all, I was developing asp.net mvc4 web site. I think I have corrupted some configuration in web site by mistaken. Now I got following error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. Most likely causes: No authentication protocol …

Member Avatar for menukadevinda
0
1K
Member Avatar for vinay7868

<?php connection check; select database; $sql="select * from category" mysql_query($sql); $prod_name=$_POST["prod_name"]; /*pls tell me what to pass in cat_id down i have to take the select tag's value property then what should i pass pls help me.........*/ $cat_id="What to write here...." sql1="insert into product(prod_name,cat_id) values('".$prod_name."','".$cat_id."'); $r=mysql_query($sql1); ?> <html> <form> <select …

Web Development php
Member Avatar for vinay7868
0
233
Member Avatar for craigallansmith

Hi everyone i am creating a page which generates label and textbox controls at runtime. I now how to do it using inputbox but when i post the code to my site i get errors. is there any way to create an inputbox and retrieve the user input back to …

Web Development asp asp.net
Member Avatar for eeeraser
0
276
Member Avatar for jkulp4

Hi All, I am a newcomer to PHP and still learning. Any help with this problem would be appreciated. Please see the code below. Whenever I run this I get an error message: "Warning: mysql_fetch_array() expects parameter 1 to be resource, string given in C:\wamp\www\selected.php on line 25" Can someone …

Web Development php
Member Avatar for phorce
0
125
Member Avatar for waxdaddy

Building an application or site in PHP that uses the eBay API can at first be quite a daunting task, just trying to get your head around that vast selection of API's available to the budding developer for eBay can take a while in its self before you even write …

Web Development api oop php session
Member Avatar for waxdaddy
0
1K
Member Avatar for softDeveloper

Hi! I am trying to wrap some html paragraphs inside a div element: <p>1st paragraph</p> <p>2nd paragraph</p> <p>3rd paragraph</p> I want to have this when I select this text from an iframe with window.getSelection(): <div> <p>1st paragraph</p> <p>2nd paragraph</p> <p>3rd paragraph</p> </div> and, in case I select 2 paragraphs and …

Web Development html-css javascript
Member Avatar for ko ko
0
122
Member Avatar for ShivaSaurabh

how can i refresh the content page without refreshing the master page. i dont want to use frames, so came up with master page.i also wanted the master page to be fixed without scrolling and only the content page to be scrolled.

Web Development asp.net
Member Avatar for TimCadieux
0
702
Member Avatar for 68thorby68

I'm constructing a very simple query, and want to display the results in a list, in date order, i.e. 2009-12-25 have lunch drink beer fall asleep 2009-12-26. have breakfast drink beer have lunch etc My table is also very simple, 1 column for date and 1 column for event. my …

Web Development display php
Member Avatar for adrianazidu
0
184
Member Avatar for JameB

I have a form that takes in information from the user and saves the info and then displays it in the form field.. . . Form: <form method="post" action="/core/process2.php" name="step2_form" target="_blank"> <div class="float_left"> <table class="form_step2"> <tr class="form_step2"> <td class="form_step2 title"><p class="form_text">File Date</p></td> <td class="form_step2 input"><input type="text" class="box_form" name="file_date" value="<?php include($datadir."file_date.txt"); …

Web Development php
Member Avatar for JameB
0
172
Member Avatar for krupanand

Can any one help me in generating a webpage using php which should contain a form in a table of 4 columns and more than 50 rows with textboxes.. The data in the first 2 columns has to be retrieved from the database based on the attributes selected in the …

Web Development php
Member Avatar for krupanand
0
180
Member Avatar for Sonny101

Hi all, just a quick question, is it possible to have a email ordering system without having a website? I am researching for a group project in which the customer wants a database + an email ordering system. I won't go into details about what they want, but I thought …

Web Development email
Member Avatar for reganstar
0
118
Member Avatar for aadil7

Hello everyone I have a website where I have a contact form and I am not getting the contact form sent to my email my website is www.rrwills.com I have attached the contact.php code below for you to examine. I personally scoured the code and could not figure out anything …

Web Development email php
Member Avatar for aadil7
0
211
Member Avatar for trektrak

I have this code below... I would like to resize the image after uploading from mysql... is it possible... anyone can help me on this ? <?php include "file_constants.php"; // just so we know it is broken error_reporting(E_ALL); // some basic sanity checks if(isset($_GET['id']) && is_numeric($_GET['id'])) { //connect to the …

Web Development image php
Member Avatar for blocblue
0
229
Member Avatar for mop

Hi, I hv create an application using C#, Asp.Net (VS2005), While Im creating setup project for that application, I add Custom Installer Class (for getting user input and update my web.config connection string at the time of installation). Its working fine. (the custom installer class automatically crates a file in …

Web Development asp asp.net
Member Avatar for zyzzyxx
0
176
Member Avatar for dourvas

hallo there. My english arent quite good so excuse me in advance i have a form. This form contains a select and some textareas. i get data from a database to fill in the select. This is the code: echo "<form method=post name=f1 action='bathmoi-ins.php'>"; $quer=mysql_query("SELECT member_id, lastname, firstname, fathersname FROM …

Web Development php
Member Avatar for blocblue
0
158
Member Avatar for talisien

Hello, Does anyone know how to connect to a ms sql server from a unix platform Below is the code i found. I've setup the slq server and allowed it to accept remote connection. Port 1433 is open for connection and firewall is configered to allow remote connection. The host …

Web Development php sql unix
Member Avatar for talisien
0
263
Member Avatar for ayat abukhadra

hi, I'm writing a website using asp.net and I'm using VB if i want to press a button which loads another page how can i do that ?

Web Development asp.net
Member Avatar for ayat abukhadra
0
174

The End.