52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Hypermommy

Hi all, I'm stumped...everything on my page is happening twice. Every method is getting called twice. Any idea why something like this would happen? Markup of page: [CODE] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="MatchActivitiesToReqs.aspx.vb" Inherits="ScoutingWithTheMouse.WebBrowser.Admin_MatchActivitiesToReqs" %> <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <%@ Register Assembly="Telerik.Web.Design" Namespace="Telerik.Web.Design" TagPrefix="telerik" %> <!DOCTYPE html PUBLIC …

Member Avatar for Hypermommy
0
261
Member Avatar for niths

---Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\login.php on line 71----- [code] <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password"></td> …

Web Development apache php
Member Avatar for cwarn23
0
151
Member Avatar for Barrett1

I need to display all the comments from the comments database table where the $msg_id_fk = $msg_id from the messages table and I need it in a while loop [CODE] $comment_results = mysql_query("SELECT * FROM comments WHERE msg_id_fk='$msg_id' ORDER BY com_id ASC"); while ($row = mysql_fetch_array($comment_results)){ $msg_id_fk=$row['msg_id_fk']; $comment=$row['comment']; } $message_results …

Web Development display php sql
Member Avatar for cwarn23
0
176
Member Avatar for khr2003

Hi I am looking for a php code formatter that has to has two features: formatting arrays, so an array like this: [CODE]array ('key_of_first_value' => 'value','another_key' => 'value1', 'test_key' => 'value2');[/CODE] to this (note that the sign => is aligned among all array elements): [CODE]array ( 'key_of_first_value' => 'value', 'another_key' …

Web Development php
Member Avatar for khr2003
0
114
Member Avatar for hardinera

I need to retrieve the records which are between the selected days(TWO dates are of two different fields in DB) i tried this in php and its working [CODE]SELECT * FROM guest_info where check_in = '$check_in' and check_out= '$check_out'; [/CODE] but when i insert "between" noting happens [CODE]SELECT * FROM …

Web Development php
Member Avatar for hardinera
0
86
Member Avatar for lifeworks

Hi I spent the morning hacking together the basic components of my own MVC framework, which currently only parses a url, loads the class and calls the right method... Because I obviously dont want someone to be able to access the 'add/remove' methods associated with future classes, i need to …

Member Avatar for lifeworks
0
129
Member Avatar for nccsbim071

Hi Is it possible to execute normal php code under zend framework php. As far as i have heard php is a MVC model style coding. But i have not done MVC programming in php. I have an appplication where i need small modification. I have done some programming in …

Web Development file-system php
Member Avatar for nccsbim071
0
121
Member Avatar for Sinha's

Hello Everyone, I have developed an application for website using ASP.NET and SQL Server 2005. Recently I have uploaded it to server, but after uploading its showing the following error message - [B] Login failed for user ''. The user is not associated with a trusted SQL Server connection.[/B] [B]Description:[/B] …

Web Development asp asp.net sql web-server
Member Avatar for Sinha's
0
300
Member Avatar for peck3277

Hi guys, Im having a problem with some code here. I have 2 divs and 2 buttons. I want 1 dive to hide and 1 display when i click one button. And when I click the other button the other div displays/hides. I'm using the below code but it just …

Web Development javascript
Member Avatar for cloud09
0
108
Member Avatar for lightningrod66

I am trying to collect data from a form, store that data in mysql database, and send the info in an html mail (so the info looks "pretty"). I have everything working except for the HTML mail. I have read numerous things and tried numerous things, but so far, noting …

Web Development html-css php
Member Avatar for ImMoRtAl-
0
142
Member Avatar for infinitus 8

Hello, it's my first post and I'm not sure if is the right place. I want to integrate some contact form into my website, but every page I have diferent email address and ID, 2 or 3 page it's ok, I can do manually, but it will be hundreds of …

Web Development email php
Member Avatar for EvolutionFallen
0
2K
Member Avatar for g-fer

Hi ... I am a total php newbie. As clients move about my site they may cause entries in a temporary sql table that includes a field for their session id. If they leave the site by logging out properly, the rows in the table associated with their session are …

Web Development php session
Member Avatar for g-fer
0
86
Member Avatar for T.J

hello this is my question i want to know the best book to start learning ASP.NET and lets say that i dont have any idea about asp or asp.net so i want to know a goob book to start with and learn from it asp.net and i have another Question …

Web Development asp asp.net
Member Avatar for Ezzaral
0
264
Member Avatar for WoW Me Web Girl

Fatal error: Call to undefined function write_log() in /home/poetryba/public_html/install/inc/class.sql_import.php on line 105 here is my code <?php class Sql2Db { private $sql_file_name = ''; private $debug = ''; public $debug_filename = 'vshare_upgrade'; function Sql2Db($sql_file_name, $debug = 0) { $this->sql_file_name = $sql_file_name; $this->debug = $debug; } function import() { $comment = …

Web Development php
Member Avatar for Will Gresham
0
2K
Member Avatar for drewpark88

Hey Guys, I have a quick question. I want to make sure I am doing this right, according to my understanding of the PHP manual. Here's my question: If I have an "address" input field for my form and a user inputs their address and then this information is passed …

Web Development php
Member Avatar for drewpark88
0
154
Member Avatar for levsha

[CODE]if($firstname == '') {print "You have not entered your first name, please go back and try again.";}[/CODE] How do I make the text look like the entire site? Or even better - is it possible to get a popup window on this instead of opening a full sized page? Thank …

Web Development php
Member Avatar for diafol
0
165
Member Avatar for NoID

Hello, Any way of when a customer goes to [url]www.domain.com/testtest[/url] it stores the IP and then it automatically block that? or give me the opertunity to block it by htaccess? Thank you

Web Development php
Member Avatar for hashinclude
0
84
Member Avatar for WoW Me Web Girl

im trying to install my youtube clone script i brought from Vshare.com on my server and this is the error message i keep getting. Warning: fopen(../include/config.php) [function.fopen]: failed to open stream: Is a directory in /home/poetryba/public_html/install/install_collect_info.php on line 86 Warning: fputs(): supplied argument is not a valid stream resource in …

Web Development php
Member Avatar for WoW Me Web Girl
0
152
Member Avatar for keepbusy

I'm looking to display only 1 line of text from a source where characters range from 0-255. I do not want the text to exceed 1 line, and if it would, I want to truncate and display "...". What is the best way to determine if text will exceed 1 …

Web Development php
Member Avatar for diafol
0
99
Member Avatar for pizzipie

I am fairly new to PHP-MYsql and HTML programming. So Please bear with me, I'm trying to create a function which will produce an array of 'Fields in a Table' and combine that array with an array of 'Column Headings' to produce an associative array like this; $labels= array('IDno' => …

Web Development php
Member Avatar for pizzipie
0
106
Member Avatar for drewpark88

Hey Everyone, I am getting an error with a PHP script made using the Authorize.net AIM (Advanced Integration Method) API for my donation form. I have gone over the code dozens of times and still do not know why it is not working. Everything works except the most important part...it …

Web Development api php
Member Avatar for drewpark88
0
302
Member Avatar for sdimantova

I need to create some kind of web interface that will allow users to view all of our conference room Outlook calendars/availability at one time. From there, they should be able to select a date/time and automatically bring up a new appointment in their Outlook client and schedule a meeting …

Web Development asp.net
Member Avatar for sdimantova
0
130
Member Avatar for Tekkno

Hello DaniWebbers, I've got several href's that take the user to different forms. However, in order to have access to the forms, they have to log in. So when they click the link, they are redirected to a login page if they have not already logged in, otherwise they are …

Web Development php session
Member Avatar for Tekkno
0
216
Member Avatar for tryphy

I have a multi form, In a form, i have the <back and Next> button. So i used the form action in these to button, I also have a validation which i did using javascript , [CODE] <head> <script type="text/javascript"> function validate_name(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false} …

Web Development javascript php
Member Avatar for diafol
0
2K
Member Avatar for ursrathika

hai experts i am a beginner in php....how to create autosuggestion box in search page..and how to create search box... pls give me the solution....

Web Development php
Member Avatar for mrcniceguy
0
76
Member Avatar for Bubbleboy

Hi everyone. I, like the majority of us web developer's, despise internet explorer. So on my site, i want to put something in just for the fun of it that detects IE and says something. Right now i have just a plain alert asking to please change to a different …

Web Development javascript web-browser
Member Avatar for alexhernandez
0
151
Member Avatar for phoenix_dwarf

I got a simple javascript function in my asp.net page that just checks to see if one value is smaller than the other. The condition value is 15000.00 and i'm comparing it to 920.00 Why does it evaluate to false? [CODE] var moo= 15000.00; var orig= 920.00; var bool = …

Web Development asp.net javascript
Member Avatar for phoenix_dwarf
0
108
Member Avatar for xolmc

Hello All! How can I automatically change permissions just for files in current directory and not for other directories. I suppose that 'chmod -R 664 .' will change permission to all current directory content..

Web Development php
Member Avatar for hashinclude
0
104
Member Avatar for mattias78

Hi I wanted to get some data from a file on the web that is updated every 12 hours or so and store it as variables so I can then display the information elsewhere. Is this something I can do with PHP? Here is an example of the file: [URL="ftp://polar.ncep.noaa.gov/pub/waves/latest_run/akw.46001.bull"]ftp://polar.ncep.noaa.gov/pub/waves/latest_run/akw.46001.bull[/URL] …

Web Development php
Member Avatar for hashinclude
0
76
Member Avatar for niths

hai i am new to php. i am getting this as error ---You have an error in your SQL syntax; check the manual that corresponds to your MySQL--- can anyone tel wher is the error. Thank u..!! <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> …

Web Development mysql php sql
Member Avatar for hashinclude
0
101
Member Avatar for Pooja J.

Hi guys, I have one form contains img title and img name, also in database named as gallary. my prob is i cant store the name of img with extension using file field. plz, guide me. //admin.php <?php $con = mysql_connect("localhost","root",""); $db = mysql_select_db('admin'); $title = $_POST['title']; $file = $_POST['file2']; …

Web Development image php
Member Avatar for hashinclude
0
101
Member Avatar for WoW Me Web Girl

I started a comments page on my website and the comments work fine and go through. But after you submit the comment the out put displays like this on my webpage: comments: "heartbeaker" by: jamika @ 12:30:00 am on March 11, 2010. Fear<br /> There are two flip sides, to …

Web Development php
Member Avatar for liamfriel
0
71
Member Avatar for manofspider

Hi all, How to install these services to our web site ? - SVN , Git, and Mercurial Repositories - Mantis, Redmine Projects I think it should be easy to install Open Source application on Web Hosting. Thanks.

Web Development open-source xml
Member Avatar for masijade
0
125
Member Avatar for mcastu

i m trying to make login page ... while runing that i got one Fatal error i m not able to understand even i tried .......... guide me plz here is :---- Fatal error: Call to undefined function: mysql_real_escape_string() in c:\apache\htdocs\newhr\checklogin.php on line 14 plz help me to solve it...... …

Web Development apache php
Member Avatar for mcastu
0
10K
Member Avatar for prem2

Hi DaniWeb Team, I want to read the value of the below array, but i do no how to get the values. Array ( [0] => Zero [1] => One [2] => 9884127128 [3] => 98841254554 [4] => Four [5] => Array ( [[0]] => Delimiter ) [6] => 9554565545 …

Web Development php
Member Avatar for prem2
0
70
Member Avatar for 56oldbrown

I have a login page on the site I am building, it works fine but what I am trying to accomplish is: I have a number (10) of football clubs who require login access to their page by their members only. For instance, Club A has its own page, only …

Web Development php
Member Avatar for cwarn23
0
110
Member Avatar for itisnot_me

ok so what i have going right now is a little system that takes a value of %address% and turns it into what is stored on the database. and i am using a str_replace example (note there are more in the array) [CODE] $searchArray = array("%address%"); $replaceArray = array($address); $content …

Web Development php
Member Avatar for itisnot_me
0
286
Member Avatar for teajayo

Hi people... ran some asp code thru a php translator and the php page displays nothing but this error message. I take out the php code and it displays. I've checked and rechecked and read tons of possible scenarios... but I don't see anything. Sometimes another set of eyes and …

Web Development microsoft-access php
Member Avatar for teajayo
0
161
Member Avatar for Exploded Fiber

Hi all, After some time pulling my hair my brain has turned to mush on this senerio. I'd appreciate any help offered as my PHP skills are still limited. Here is the senerio: I am creatings a voting website. I am currently creating an admin page that creates local election. …

Web Development php
Member Avatar for Exploded Fiber
0
107
Member Avatar for mtroute

I m trying to create a table using the results of a SUM on separate tables within a single DB. I have tried various join scripts but can't seem to get it right. As a work around, I have created a single SUM table for each Table and run the …

Web Development html-css php
0
79
Member Avatar for tryphy

Hi, I have a javascript function to disable and enable a textbox. [CODE] <SCRIPT LANGUAGE="JavaScript"> function enable() { document.form1.tmphone2.disabled=false; document.form1.pmphone2.disabled=false; } function disable() { document.form1.tmphone2.disabled=true; document.form1.pmphone2.disabled=true; } </SCRIPT> [/CODE] I need to call the function in a php code, on condition Heres my code: [CODE] <?php $cc = $row['company_country']; $s …

Web Development javascript php
Member Avatar for EvolutionFallen
0
2K
Member Avatar for avinash_545

Dear all, can you please help me with a small timer problem.i dont know why but firefox is not displaying the small clock from my codes, though javascript is enable. <html> <head> <script type="text/javascript"> function startTime() { var today=new Date(); var h= today.getHours(); var m= today.getMinutes(); var s= today.getSeconds(); //Now …

Web Development javascript
Member Avatar for avinash_545
0
112
Member Avatar for aboell

I have a Sharepoint (WSS) question that due to the keywords make it difficult to effectively find solutions on the web. We are trying to roll out a new Sharepoint site, but have some PR commitments to keep our original front page. I would like to know if there is …

Web Development asp.net sharepoint
Member Avatar for aboell
0
119
Member Avatar for eenceo

Can anyone think of a reason why a PHP // comment cancels the execution of a file? Here's the setup: I have an index.php file that loops through different commands. [CODE]if(in_array($act2, $a2)) { if($act2 == "prods") { require('prod.php'); } else if($act2 == "stats") { require('stats.php'); } else if($act2 == "cust") …

Web Development php
Member Avatar for eenceo
0
197
Member Avatar for darrylpatterson

Now that Perl is losing its popularity, which one the these languages will be the next to go: PHP or ASP? Which one of them do you like best? and why?

Web Development asp perl php
Member Avatar for digital29
0
142
Member Avatar for fobos

hello all, i have a problem. First off, i am able to upload 200mb to mysql database; so im good there. I changed the values in "my.ini" to 700mb. The problem is, when i try to download it, i get a error 404 or something like that. Its like the …

Web Development mysql php
Member Avatar for cwarn23
0
100
Member Avatar for rukshilag

hi im working on a search field in drupal for a system that maintains student information. i have one interface that has the search student info box and the other which is search results i wrote some php code to search the and there are no errors yet still its …

Web Development php seo
Member Avatar for rukshilag
0
160
Member Avatar for sarahgn4t

Can someone help me add a css rule to my web template? I want to change the width of it?? It is wider than the normal size template so it runs off the page. How do I make it skinnier?

Web Development html-css javascript
Member Avatar for almostbob
0
66
Member Avatar for phil2010

Hi, We are having memory leak/performance issue/timeout. we have checked and tuned db and all our queries. The configuration for our server is as follows. OS - windows 2003 SP2 CPU - 8-way 2.66 ghz intel Xeon(R) X5355 @ Memory - 16GB I like to know for the above server …

Web Development coldfusion
Member Avatar for utdream
0
97
Member Avatar for SCoder1

How do I use php on IIS 5.1? (a.k.a. windows xp professional)

Web Development php
Member Avatar for diafol
0
88

The End.