52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Farhad.idrees

Hi i just want to know that how to connect php with sql server..because i have database in my sql server.... regards.. Farhad

Web Development php sql
Member Avatar for arajapandi
0
235
Member Avatar for cali_dotcom

hi, i am pretty new to zendframwork butnot so new to php. i am trying to use ajax with the framework, but i keep getting an error: Fatal error: Call to a member function getHelper() on a non-object my controller looks like this: [code] <?php /** * Admin section of …

Web Development php
0
102
Member Avatar for adn295

I have gone through the basic techniques to implement comet server like streamhub,Maven/Jetty etc. I have following questions for that : After that I found the issues like in case of Maven/Jetty internet connection is required for downloading certain files from net.So it it possible to implement it if no …

Member Avatar for adn295
0
155
Member Avatar for jonsan32

Don't know what I'm doing wrong, but I'm positive it's me. This dropline menu works perfectly in Chrome, but completely goes to crap in every other browser (not just IE, which I'm used to). If you have any pointers, please pass them my way. I've pasted the code - in …

Member Avatar for jonsan32
0
178
Member Avatar for Ravi tiwari

I fetched text from database in the table <td> I found all the text appear in single line I want to break it. I using PHP.

Web Development php
Member Avatar for cwarn23
0
123
Member Avatar for sanstepsan

I have included the following code in my website as a game for young kids to try and locate the erased position of a golf ball. Firefox runs the code perfectly and when the correct location is clicked the small golf ball pops up at that point. In IE however, …

Web Development javascript wordpress
Member Avatar for Taywin
0
91
Member Avatar for vasuv

Hi, I am new to HTML kind of stuff. I have some documents in my own folders for different applications. I want keep all the documents in related Hyperlink under that particular department. after creating all the hypertlinks that link link should navigate to that particular document. once it is …

Web Development javascript
Member Avatar for Taywin
0
107
Member Avatar for AngieS

I am building a plant reference guide that pulls from two tables within a mysql db . One table "findplantsdb" has the plant name, desc, image and the other table "plantdb" has the availability of plants listed in the yard and field. I need both databases to come together (JOIN) …

Web Development php
Member Avatar for cereal
0
156
Member Avatar for cgull

Hello, I have downloaded a jquery gallery and made a lot of changes to it. Now I am stuck with one thing that I can't change. The gallery has thumbnails that scorll on the bottom. I want the direction of the big image animation to change. It is hard to …

Member Avatar for AleMonteiro
0
215
Member Avatar for mawk

Hello, been lurking around to see if I could find any kind of solution to what I'm trying to solve, but the closest thing I got was this old thread: [url]http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/313687[/url] [B]What I want[/B] I'm trying to create is a SELECT menu with an INPUT field, but the INPUT field …

Web Development javascript javascript-jquery
Member Avatar for mawk
0
255
Member Avatar for ken.atienza

[CODE]$sql="SELECT * FROM accounts,adminaccount WHERE accounts.emailaddress='$username' and accounts.password='$password' or adminaccount.emailaddress='$username' and adminaccount.password='$password'"; $result = mysql_query($sql); $count=mysql_num_rows($result); $row = mysql_fetch_assoc($result); $usertype = $row['usertype']; if($count==1) { $_SESSION['usertype']= $row['usertype']; $_SESSION['id'] = $row['id']; if($usertype == "admin") { header("location:indexadmin.php"); } else { header("location:indexmember.php"); } } else { header("location:index.php?page=loginfail.php"); } ?> [/CODE] I wanted it to …

Web Development mysql php
Member Avatar for Matthew N.
0
155
Member Avatar for crash0verride

Im developing a website for a company and it is my first time to use ASP.net in c# language. I am expert in graphic designs but slow on programming. please help me how to create a login page using in ASP.NET using c#. :) thanks

Web Development asp asp.net c#
Member Avatar for Ezzaral
0
318
Member Avatar for deepak.marur

I have a data store having a Note field (a textarea) and want to display all Notes satisfying a user input (even metacharacters). I've written the following function to handle this: function notefilter() { var newfilter = Ext.getCmp('searchnote'); var searchStr = newfilter.getValue(); searchStr = searchStr.replace('?', '\\?').replace('*', '\\*').replace('+', '\\+').replace('{', '\\{').replace('}', '\\}').replace('[', …

Web Development javascript regex
Member Avatar for deepak.marur
0
401
Member Avatar for muralibobby2015

Hello, i have some problem with this issue. i have to do display results randomly using mysql. but results don't repeat until one cycle completed. i mean there are 6 results is there.... example first displyed randomly like 2 and 6, next 3 , 4 next 1,5 (one cycle completed) …

Web Development display mysql php
Member Avatar for pritaeas
0
1K
Member Avatar for ariffin246

Hi everyone, I have a text file with similar content as below: [CODE] admin,123 user,123 user2,123 [/CODE] What i need to perform is to upload the text file and read each lines. Then split the content of each lines by delimiter and add it to database. In my database there …

Web Development php
Member Avatar for ariffin246
0
123
Member Avatar for Dolphinboy

Hello web developers I'm trying to create option "all models" in auto script. so people could choose for example Honda and would choose "all models" of honda and see the results. [CODE]<?php include('head.php'); ?> <body> <body id="homepage"> <style type="text/css"> .t{font-weight:bold;color:#000000;width:200px} select{width:250px} input{width:238px} </style> <div id="container"> <?php include('header.php'); ?> <?php include('menu.php'); …

Web Development html-css php
Member Avatar for diafol
0
126
Member Avatar for jemz

Hi, can i ask some help on how to delete records in database.im using wampserver... I retrieve all rows and display it on the table which is php code and i want to delete rows if i will click the delete in the table...is this possible?please help me... [CODE] <?php …

Web Development php
Member Avatar for jemz
0
257
Member Avatar for davy_yg

news_manager.php [CODE] //LOAD KATEGORI $result = mysql_query("SELECT * FROM kategori_berita ORDER BY kategori ASC") or die(mysql_error()); ?> Pilih Kategori Terlebih dahulu <select name="kategori" onchange="submit();"> <?php if (empty($_REQUEST['kategori'])) echo '<option value="" selected="selected">--Kategori--</option>'; while ($data=mysql_fetch_array($result)){ ?><option <?php if ($_REQUEST['kategori'] == $data['id']) echo 'selected="selected"' ?> value="<?php echo $data['id']; ?>"><?php echo $data['kategori']; ?></option> <?php …

Web Development php
Member Avatar for pritaeas
0
145
Member Avatar for IWDesigns

hi guys... i have a form that submits info to the database...it works fine in ie, but was freezing in ff...originally i thought it was because my firefox has been playing up recently, but i got a friend to test on his machine and he got the same result the …

Web Development php
Member Avatar for Stefano Mtangoo
0
138
Member Avatar for mary_forum
Member Avatar for mary_forum
0
65
Member Avatar for cbwhellmouth

Hi everyone, I'm totally new to PHP and I am trying to create a script that allows users to upload a picture which will then be emailed to me along with their details. When debugging, I keep receiving the message Parse error: syntax error, unexpected $end in C:\Users\Admin\Web\php-form-action.php on line …

Web Development php
Member Avatar for pritaeas
0
336
Member Avatar for kytro360

I want my program to do two back to back webrequests. The first one fills out the form on the page. The second webrequests a page which submit the data from the previous webrequest. I tried doing this but I keep getting this error: [QUOTE]The request was aborted: The connection …

Web Development asp.net http-protocol
Member Avatar for riteshbest
0
327
Member Avatar for arunmagnilagan

i had used gridview to display records from database, i am able to display records but in pagination when i click 2,3,4,5......10 page the gridview disappears. find the code below for gridview: [CODE] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" PageSize="10" AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging" onselectedindexchanged="GridView1_SelectedIndexChanged" GridLines="Horizontal"> code behind: protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) …

Web Development asp.net
Member Avatar for arunmagnilagan
0
148
Member Avatar for sun-tzu

I am building a website for a charitable organization here in Paradise, CA called Heart to Hand. One of the many things that I am going to have the site do is list children in need of Christmas presents. For those people that are a bit indecisive I want to …

Web Development javascript javascript-jquery
Member Avatar for Taywin
0
427
Member Avatar for cdoggg94

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Lcbo\flash_import.php on line 6 this is the error i get from this code: [CODE] require_once("Connections/LCconnect2.php"); $myquery = mysql_query("SELECT pro_brand FROM product_information ORDER BY pro_id DESC"); print "&winetitle="; while($row=mysql_fetch_array($myquery)){ //<----line 6 print $row['pro_brand']."|"; } [/CODE] is it something to do …

Web Development mysql php
Member Avatar for stoopkid
0
273
Member Avatar for cjohnweb

I google'd myself silly, I can't find tutorials for this. I hope someone could lend me a hand. I'll try to make this simple. I have a PHP & MySQL driven site. I have a form for adding new content. The form has a set of check box options that …

Web Development javascript javascript-jquery
Member Avatar for cjohnweb
0
482
Member Avatar for whiteyoh

Hi All, Can anybody see why the following function is ignoring the plain text part of the multipart? [code] $attachment = chunk_split(base64_encode(file_get_contents($filetoattach))); //Let's start our headers $headers = "From: $from_name<" .$from_name . ">\n"; $headers .= "Reply-To: <" . $from_name . ">\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Type: multipart/related; type=\"multipart/alternative\"; …

Web Development email pdf php
Member Avatar for cereal
0
113
Member Avatar for daza166

Hi, I am really struggling to get some ideas for a project to do for my final year in Forensic Computing course. Unlike other computer courses it has to be something to do with computer forensics area I have been told. I am medium programmer in C but very confident …

Web Development php web-browser
Member Avatar for chrishea
0
675
Member Avatar for violaceous

How would I recode this to use checkboxes for each $result ? I want to make it so that instead of selecting different results from the drop down multiple times, a user can check the boxes of results they want and submit them that way. [CODE]echo "<table> <tr><td><b>Class:</td><td>#$class_id</td></tr> <tr><td><b>Show:</td><td><a href='shows.php?id=$show_id'>$show_name …

Web Development php
Member Avatar for Ezzaral
0
140
Member Avatar for Sorcher

Hello! i didnt see any primary forum this should be in, so i'll ask the animals of PHP. I really want the url [CODE]http://www.mysite.net/index.php?page=images[/CODE] to be [CODE]http://www.mysite.net/index/images[/CODE] Anyone got any idea? i've been searching and trying all day, but my brain capacity is not online today.. I will hug you...:(

Web Development apache php
Member Avatar for diafol
0
87
Member Avatar for cjohnweb

I have this in a script of mine: [code=javascript] function add_option(section){ var sec = section.id; var addnew = document.myform.addnew.value; alert('add_option: section: '+addnew); [/code] I am pulling text from the input with the name of addnew, and it works. I would like to use a variable in place of the "addnew" …

Web Development javascript
Member Avatar for cjohnweb
0
199
Member Avatar for violaceous

I was trying to implement checkboxes, but that seems too difficult. Here is the code: [CODE]<?php session_start(); // Maintain session state header("Cache-control: private"); // Fixes IE6's back button problem. $page_title = "Class Information"; include('header.php'); $class_id = $_GET['id']; $enter = $_POST['enter_horse']; $horse_id = $_POST['horse_id']; //general show information $result = @mysql_query("SELECT s.show_id, …

Web Development php session
Member Avatar for diafol
0
319
Member Avatar for bkimbriel

Not sure if this is the right place but it looked good to me lol. Anyway, I'm looking for a web PDF viewer that I could set up "locations" on the pdf for the user to select from and view using one single pdf, and it has to work on …

Web Development ipad javascript pdf
Member Avatar for bkimbriel
0
121
Member Avatar for WoW Me Web Girl

I brought a website template off line. it came with a contact form that i have know idea how to edit it. here is the code please help i just want the message to go straight to my email when the user pushes send. Thanks in advance i been online …

Web Development php
Member Avatar for WoW Me Web Girl
0
353
Member Avatar for phpangel

hi guys, i'm having an SQL Error in my CMS, somebody please have a look i get this error: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files (x86)\VertrigoServ\www\portal\estrutura\publicidades\exibe.php on line 73" my code: <? $variables=(strtolower($_SERVER['REQUEST_METHOD'])== 'GET') ? $_GET : $_POST; foreach ($variables as $k=> …

Web Development mysql php sql
Member Avatar for phpangel
0
120
Member Avatar for h3rb

Hi all i have a new problem that needs some solvin I'm trying to add data sets to Google's Javascript Motionchart from my SQL database via PHP Here is what i have so far: [CODE] <?php include "conn.php"; // Select all the rows in the markers table $query = "SELECT …

Web Development api google google-api php sql
Member Avatar for h3rb
0
171
Member Avatar for domh87

I have to make a calculator on a site to determine a lump sum payout on life insurance, the user would enter all of 1. Gender, 2. Smoker or Not, 3. Monthly Payment. For each of the different variables there is a unique lump sum amount but no way of …

Web Development html-css javascript
0
119
Member Avatar for Tinito16

Hi, I'm new to jsp, and right now I'm doing a school project. I want to change the part of my page that has the login fields to say the username of the person who logs in (as opposed to just leaving them there and having the person wonder whether …

Web Development java-jsp
Member Avatar for Mindpowerh
0
163
Member Avatar for terrymold

Hi everyone I have developed a PHP page which uses a few JavaScript functions and other JavaScript code to initially display today's date (and plus other data as well!). At the top of the PHP script is a PHP include file which determines whether or not today is BST - …

Web Development javascript operating-system
Member Avatar for banizdaymov
0
404
Member Avatar for aldm

Hi, I work on website which have large number of users in php. I wonder which is the best way to handle database connection in this case. Every database object have it's related class and on the start of every class method database connection opens (for example GetLatestNews(), GetNewsOfType($type) etc). …

Web Development php
Member Avatar for mschroeder
0
195
Member Avatar for Josem

Hi everyone I'm trying to extract an address in three lines. But its giving it to me in one line. I'm creating a pdf form using mysql and php. e.g: 252 westend drive Sommerset west 0185 I don't want it like this. 252 westend drive Sommerset west 0185 I want …

Web Development pdf php
Member Avatar for suley04
0
103
Member Avatar for nikki05

Hello, Could someone suggest me the ways to redirect a website from one server to another website in another server? I have one website "X" (IP based e.g [url]http://x.x.x.x/example.html[/url]) in one server using IIS and another website "Y" (domain based e.g. [url]www.abc.com[/url] ) on another server using Apache. I linked …

Web Development apache client-server php
Member Avatar for suley04
0
543
Member Avatar for Xdwardo

Hi everyone 8) I'm new around here but thought it's about time I joined a good PHP forum! I'll introduce myself properly on the right section, but for now, I'll my post my coding problem on here. I wonder if any has any knowledge or can help. I'm setting up …

Web Development encryption php web-server
Member Avatar for Xdwardo
0
174
Member Avatar for KillingKiller

So, i need help to do couple of things: [B]1.[/B] To change the hyperlink into a button. The link downloads the file from the server, which is pointed in the database. Below is the actual code of the hyperlink, and what I tried to do, to change it to a …

Web Development perl php
Member Avatar for diafol
0
235
Member Avatar for olybobo

Dear all; I have googled everywhere but still cant find a good robust code for this. I would like to use an XML to create a menu and submenu in asp.net in the master page. This is the design I would like About Me|Interest now if About Me is clicked …

Web Development asp.net
Member Avatar for Netcode
0
100
Member Avatar for suley04

Hi Everyone, I have a BIG problem right now. I am currently learning ASP.NET to fulfil my job role, as an IT Manager. Although I have programming experience in other languages, I have never done ASP.NET before. I am currently working on a website called [snipped]. I recently uploaded the …

Web Development asp asp.net
Member Avatar for suley04
0
179
Member Avatar for Ingska

Hi guys, I am still kind of struggeling with my upgrade from php4 to php5, my site is almost there but I can't figure out how to set my http_referer. This is how it looks like today: [CODE] <?php $_SESSION["referer"] .= $_SERVER['HTTP_REFERER']; $my_web = $_SESSION["referer"] ?> [/CODE] The error message …

Web Development php
Member Avatar for Ingska
0
299
Member Avatar for gotboots

Hi all, was just wondering what is the difference between $_GET[''] $_POST[''] $_REQUEST['']? I normally use $_REQUEST[''] to get my values from a form or url, but not too sure why there is 3 different types. from what i understand, they are all the same and do the same thing …

Web Development php
Member Avatar for broj1
0
319
Member Avatar for vuyiswamb

Good Day All i am creating Textboxes at Runtime with something like this [CODE]Dim cnt As New TextBox cnt.ID = "cont_" & x If multiline Then cnt.TextMode = TextBoxMode.MultiLine End If [/CODE] These are dynamically created fields. so what i want to do is to use this following JQuery on …

Web Development javascript javascript-jquery
Member Avatar for vuyiswamb
0
733
Member Avatar for Rizi004

I want to know that how i can get the text which user write in text area and want to show that text in web page same as facebook when we write something and and add comment it will show in a div how i can go with innerHTML i …

Web Development javascript
Member Avatar for sun-tzu
0
192

The End.