17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for peterv6

First off, let me state that I have read the FAQ about this error, and have tried all the fixes, with no success. If anyone can give me a hand with this I'd be grateful. I've got some PHP web pages that connect to a MySQL database. I've got a …

Web Development mysql php
Member Avatar for kireol
0
111
Member Avatar for dwdata

Hi, I am trying to compile a detail page. Here is the code below: [CODE]<?php require_once('auth.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Village Of Hope Worship</title> <style type="text/css"> <!-- .style13 { font-size: 12px; color: #70283C; font-weight: bold; } .style14 …

Web Development html-css php
Member Avatar for kireol
0
114
Member Avatar for kingben

Hi. How do I differentiate Internet and Intranet Page viewers? I am providing some extra privileges to the Intranet users to publish pages, while the Internet Users can only view them and not publish new pages. What's the class/functions that I should be googling for?

Web Development php
Member Avatar for kireol
0
76
Member Avatar for sharal

hi forum i was working with odbc and used odbc_exec(). but when i used this in mysql this is not working i also used mysql_query() but this is not working too here is the code [code=php]$id; $sr; $cs='fa'; $q2="SELECT MAX(ser) AS mxid FROM (SELECT * FROM Table1 AS T2 where …

Web Development mysql php
Member Avatar for sharal
0
246
Member Avatar for woocha

Hi Guys & Gals, I have a JS file for an AJAX app that works great in Firefox, Chrome, and Opera, but not in IE6 or IE7. The JS file is located here: [url]http://www.russwilliamsart.com/scripts/imago.js[/url] and the XML file it grabs info from is right here: [url]http://www.russwilliamsart.com/gallery/Giclees/gallery.xml[/url] I think the problem …

Web Development file-system javascript xml
Member Avatar for FlashCreations
0
317
Member Avatar for salibaray

Hi there, I'am developing a system for banner selection (affiliates) and I have tested the system throughly on my local machine and everything works just fine, but when I have uploaded it to my GoDaddy account and tried to use my system I got the following error: Warning: mysql_fetch_array(): supplied …

Web Development mysql php
Member Avatar for salibaray
1
250
Member Avatar for dwdata

I am working of a musicians volunteer DB. I have a ADD Volunteer page: [code] <?php require_once('auth.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Village Of Hope Worship</title> <style type="text/css"> <!-- .style1 { font-size: 24px; font-weight: bold; } .style3 { …

Web Development html-css php user-interface
Member Avatar for dwdata
0
192
Member Avatar for cinemaduro

Hey all. First time poster here. This looks like a great community! I'm getting a "Parse error: syntax error, unexpected T_STRING" error. I'm just starting to get into PHP and can't for the life of me see where the problem is. This is part of the NextGen Gallery plugin for …

Web Development php wordpress
Member Avatar for cinemaduro
0
157
Member Avatar for thecodingbee

Hi there, i have a problem with this updater script which means that when i click update, change the record, and press submit-it says record changed or something like that, but does not actually do anything! Here is the code, it is supposed to be three files- list_file.php, update.php, update_ac.php, …

Web Development mysql php
Member Avatar for thecodingbee
0
96
Member Avatar for nccsbim071

How can i get the public key token for the assembly that i want to add in root web.config file. Please Help

Web Development asp asp.net assembly
Member Avatar for nccsbim071
0
179
Member Avatar for vanessia_1999

Hi, I need a little help. This might be something simple but hard for me. I am trying to list all the name of the product which is $description and the $quantity neatly by using a table. My problem is that it is only showing one product information instead of …

Web Development php
Member Avatar for nish123
0
106
Member Avatar for vanessia_1999

I am having organization set up with my table. I am trying to code for a report to have the Purchase Date and Shipped Status information added/display onto my report but I continue getting errors such as the value is not showing up and my information look out of place. …

Web Development php
Member Avatar for kireol
0
133
Member Avatar for sugumarclick

hi all, Im doing in-house project ... Im creating form which has a drop down box for gender.... and also a document which contains "he/she" type... when i select the male option in that dropdown box the doc which contains "he/she" should autopopulate to its corresponding gender and generate it …

Web Development php
Member Avatar for kireol
0
129
Member Avatar for cjay175

hi all, I am wondering if someone could give me a quick hand with some php im trying to edit in Wordpress. Heres the original peice I am trying to edit: [CODE] <div class='dateauthor'> <small class='capsule'><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small> </div>[/CODE] What I want to …

Web Development php wordpress
Member Avatar for cjay175
0
228
Member Avatar for FlashCreations

Hi, I've been designing a web application that scales to fit the available window space in the web browser so that there is no need to use the scroll bar (and the whole point of the application is to fit the window). I've already figured out how to catch resizes …

Web Development javascript web-browser
Member Avatar for FlashCreations
0
428
Member Avatar for vik85

hi everybody i am new in javascript .i hope all guys helpful.i have my site [URL="http://www.tonerquestsite.com"]tonerquestsite.com[/URL].my javascript is not working for IE can you help me out .my css file is [code=css]/* -------------- layout ------------------ */ /*qmfv{visibility:hidden !important;}*/ qmfh{visibility:visible !important;} .leftNav {position: relative; z-index: 0;} /*!!!!!!!!!!! QuickMenu Core CSS [Do …

Web Development html-css javascript
Member Avatar for essential
0
202
Member Avatar for o12357

Hi everyone, i would like to know whether the result of a mysql query executed from one php page will be available to another php page on the same site. thanks!

Web Development mysql php
Member Avatar for o12357
0
69
Member Avatar for missbeginner

I want to use a click button to go to next page, and display the detail info of the person i select. but this code wont work. help help! [code=asp.net] void ButtonHandler(Object sender, EventArgs e) { Button ViewReports = (Button)sender; switch (ViewReports.CommandName) { case "ViewReportsClick": Response.Redirect(ViewReports.CommandArgument.ToString()); break; case "ViewRemunerationClick": Response.Redirect(ViewRemuneration.CommandArgument.ToString()); …

Web Development asp.net
Member Avatar for missbeginner
0
91
Member Avatar for skullish

Hi, I created an asp.net website that wrotes information on an Access DataBase and allow users to upload pdf files. But I have a security error, telling that ASP.NET doesn't have the rights to create de file (but writing in the DB works perfectly). This is the error message : …

Web Development asp.net pdf web-server
Member Avatar for skullish
0
224
Member Avatar for serkan sendur

ayesha789 asked me how to use my smooth scroll script in code snippets section. i created an example for him here : htmlpage : [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <script type="text/javascript"> function elementPosition(obj) { var curleft = 0, curtop = 0; …

Web Development javascript printer publishing
0
273
Member Avatar for sereYboth

Hello evryone! i am very new to PHP! I study it with ebook: PHP & MySQL For Dummies , 3rd Edition! Once i try and have copy the whole code from the book like this(write in notepad) _______________________ [code=php]<html> <head> <title>PHP Test</title> </head> <body> <p>This is an HTML line <p> …

Web Development php
Member Avatar for ayesha789
0
122
Member Avatar for ayesha789

How we can use current time instead of '15:33:56' [ICODE]now()[/ICODE] Function or [ICODE]time()[/ICODE] but it gives wrong time in AM and PM. [CODE=php]<?php function twentyfourToTwelve($time) { return date('g:i:sa', strtotime($time)); } /*** Example usage ***/ echo twentyfourToTwelve('15:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; echo twentyfourToTwelve('15.12').'<br />'; echo twentyfourToTwelve('2:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; ?>[/CODE]

Web Development php
Member Avatar for ayesha789
0
2K
Member Avatar for shaikh_mshariq

I have one table which is generated using javascript dynamically. In have write one function which creates table dynamically for IE i have writed [B]mytable.onClick=some_function();[/B] for onclick event it works fine. But when i generate more than one table dynamically using the same function then onclick does not work. If …

Web Development javascript
Member Avatar for nish123
0
180
Member Avatar for sarithak

Hi frnds... Here i am going to display albums in a table...But, all albums is display in only one row.Its looking not good in my page...So,i want to display in 2 or 3 rows..plz change this code as my requirement.. .[CODE] <table width="142" height="188" border="0" align="center"> <tr align="center"> <?php $gquery="SELECT …

Web Development php
Member Avatar for sarithak
0
114
Member Avatar for jhappy

hi there, im a php trainee and really need a help in my javascript ..anyone? i have my code here that injects a patient name ..i need to know if the patient is already injected..if so..it should not be allowed and should pop an alert that say...'sorry the name has …

Web Development javascript
Member Avatar for jhappy
0
134
Member Avatar for vizy

Hi Friends, I am using update Panel to update the records without being page refreshed... and using updateProcess control to lock the screen with ModalPopup div Css.. After Updating the Record from the CS Files, giving the alert message using ScriptManager.RegisterStartupScript method. But this message is displayed on the modalPopUp …

Web Development asp.net
Member Avatar for vizy
0
147
Member Avatar for ayesha789

Passsword Strength Checker [CODE=php]<?php function testPassword($password) { if ( strlen( $password ) == 0 ) { return 1; } $strength = 0; /*** get the length of the password ***/ $length = strlen($password); /*** check if password is not all lower case ***/ if(strtolower($password) != $password) { $strength += 1; …

Web Development php
Member Avatar for ayesha789
0
254
Member Avatar for mustafaneguib

hey all i need some help in redirecting my page. following is my code. here is the scenario: when the user enters the admin panel from another website set up on a different host/server (a cms actually) the user is redirected to this page and the data from the main …

Web Development cms php
Member Avatar for digital-ether
0
170
Member Avatar for shadiadiph

I am having problems with a data entry issue i have a field in my database which is called headline it is set to varchar 255 when i insert for example something with for eample. [code] The 'dogs' are very big. [/code] the code is sent by normal $headline=$_POST["headline"]; then …

Web Development php sql
Member Avatar for uesuva
0
302
Member Avatar for erms

Hi, I am having trouble replacing this pattern. Could someone help please? FROM: (URL="http://google.com") google website (/URL) The sign () is actually [] but vbulletin is changing it to a link, so made a () sign instead. TO: <a target="_blank" href="http://google.com"> google website </a> Thanks :)

Web Development php vbulletin
Member Avatar for erms
0
71
Member Avatar for sonia sardana

I want to read just the last record of file....I m able to read the whole file. Secondly I want to know that in VB.Net we have ubound to get the upper bound of the array..What is the equivalent in ASP.net? [code] protected void Page_Load(object sender, EventArgs e) { string …

Web Development asp.net file-system vb.net
Member Avatar for sonia sardana
0
146
Member Avatar for kingben

Hi All... Any way to auto-increment the last inserted numerical value in the field "id" and then insert the newer value (id+1) in the database upon submitting the form ??? ...... How do i resolve that last submitted "id" ?? ..... I thought of doing that using a txt file …

Web Development php
Member Avatar for kingben
0
99
Member Avatar for mimsc

Hey fellas, I need some help doing on action changes This is what I got. I have a loop that has the form name "autoEmailRedirect" [code] <form name="autoEmailRedirect" method="post" action="autoEmailContact.jsp"> <td valign="top" class="paddingLeft10 paddingTop9"> <div class="paddingBottom2 boldFont paddingTop20"><%=(String)autoName.elementAt(i)%></div> </td> <td class="paddingTop9 paddingLeft" valign="top"> <div class="paddingBottom2 paddingTop20"><%=(String)autoEmail.elementAt(i)%></div> </td> <td class="paddingLeft11 paddingTop9 …

Web Development cpanel javascript
Member Avatar for sysel
0
92
Member Avatar for mands

Hi I need some help, I currently have a timer that counts down and what I would like is when the times runs out it then displays text or html (answer to question). I currenlty have the timer counting down and a seperate js show answer link that will show …

Web Development html-css javascript
Member Avatar for essential
0
1K
Member Avatar for ayesha789

Hi, I want to calculate age of the person using this code [CODE=php]<?php /*** a date before 1970 ***/ $dob = strtotime("april 20 1961"); /*** another date ***/ $tdate = strtotime("june 2 2009"); /*** show the date ***/ echo getAge( $dob, $tdate ); ?>[/CODE] but it gives error [ICODE]Fatal error: …

Web Development php
Member Avatar for digital-ether
0
160
Member Avatar for ayesha789

Hi, Its Ayesha, I am new to PHP and MYSQL , I am working on a Project in which I have to give rights to one user to UPLOAD a JPEG picture Using Browse . So Any one can Help? I want to store my JPEG Files in a Folder …

Web Development php
Member Avatar for diafol
0
104
Member Avatar for Acute

Hello world!:)) Does anybody know how to send icq message in PHP?? Is it possible to send message to icq number like 433400749??

Web Development php
Member Avatar for chrishea
0
109
Member Avatar for stevenpetersen

[code]<script languae="PHP"> open_database("location","username","password"); display_page("PAGE_ID"); close_database(); </script>[/code]

Web Development php
Member Avatar for stevenpetersen
0
104
Member Avatar for whisper_101

Hi Guys I am trying to send a link in an email to my users - I am using CDO. I am having trouble contructing the link. Currently I am receiving the message "syntax error". [code] strBody = strBody & <a name= & "anchor" & id= & (rsEmailAlert.Fields.Item("S_Id").value) & href= …

Web Development asp
Member Avatar for whisper_101
0
113
Member Avatar for OmniX

What I require is to replace \/:"?<*>| with a space. I have done similar statements before but I have complete brain freeze at the moment. Hoping one of you can jog my memory. Always hated regex expressions never understood the logic behind them minus the A-Z and 0-9 and then …

Web Development php regex
Member Avatar for ShawnCplus
0
167
Member Avatar for ayesha789

Is it possible to design a search box which suggest the values from the database. Its very cool. can show the data from the page but its difficult to show from the MYSQL Database Table. If you have any example please share with me. [CODE=html]<html> <head> <script type="text/javascript" src="clienthint.js"></script> </head> …

Web Development database-design mysql php
Member Avatar for ayesha789
0
155
Member Avatar for mansi sharma

Can somebody what is the Replace equivalent in ASP.Net..Below is the VB.Net code..I Searched on the net..but not able to do it....I hope so it will be too simple.. [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sID As String = "ABC1" Dim lId …

Web Development asp.net vb.net
Member Avatar for mansi sharma
0
89
Member Avatar for serkan sendur

You must do three things to solve this problem : 1) in the object tag add the following parameter <PARAM NAME=wmode VALUE=transparent> 2) in the embed tag add the following attribute <EMBED src="jet.swf" wmode=transparent .... 3) add the same name-value pair to the following script <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' ,'wmode','transparent',...rest …

Web Development flash javascript
Member Avatar for serkan sendur
0
400
Member Avatar for john_beginner

i have to devlope "Web site" as a project using asp.net technology whould u pls tell me which kind of web site should i develope ?? thanx in advance [:)]

Web Development asp.net
Member Avatar for john_beginner
0
148
Member Avatar for sarithak

Hi frnds.... I need code for PHP AND MYSQL POLL... It should contain admin part for inserting poll quetion, and saving all data into database.. In the user part also having graphical bar representation... ex:This is the way i want.. [B] [url]http://www.ndtv.com/news/polls/poll_details.php?pollID=505003&poll_saved=1#postcommentarea[/url][/B] Plz give some URLs regarding POLL.. or Plz …

Web Development mysql php
Member Avatar for sarithak
0
153
Member Avatar for Traicey

Hey Guys I need to be able to select or hightlight datagrid row when a user place a mouse on certain record then, he/she can be able to click delete or edit button to delete the selected row or edit the selected row, can anyone tell me how to do …

Web Development asp.net
Member Avatar for nicky.23in
0
179
Member Avatar for chriscross86

hi there, i am having problem with my codes. im getting this error, 'Name 'reader' is not declared'. please help. [code][B][COLOR="Green"]reader = con2.ExecuteReader()[/COLOR][/B] [B][COLOR="green"] reader.Read [/COLOR][/B] Protected Function SiteSpecificAuthenticationMethod(ByVal UserName As String, ByVal Password As String) As Boolean Dim log_statement As String = "SELECT * FROM [user] where username='" & …

Web Development asp.net visual-basic
Member Avatar for IdanS
0
113
Member Avatar for sarithak

Hi frnds... This is my project flow...plz set the path.. [B]Main Project[/B] a)[B]Gallery[/B]/gallery.php [B]Gallery[/B]/photos/ b)[B]admin[/B] [B]gallery[/B]/uploadphotos.php In this i am having two gallery folders..one for User panel ,another one is for Admin panel.. I want to access photos folder from admin panel..means uploading photos should directly goes to [B]User(photos)[/B] folder... …

Web Development php
Member Avatar for sarithak
0
110
Member Avatar for andrewsCWD

Hello, My php script seems to be dieing at the database connection using this code but it's not printing my error. It will print all php code before the connection code, but it prints nothing after it making me think this is my problem: [CODE]$DBConnect = @mysqli_connect("localhost", "user", "pass") Or …

Web Development php
Member Avatar for somedude3488
0
67
Member Avatar for derekn

Wonder if anyone knows what's going on here... I have a page which is generated via Perl that prints a number of data entries in a series of table rows. Each <tr> is assigned a unique id through perl, and when user mouseovers on each individual <tr>, the javascript is …

Web Development javascript perl
Member Avatar for derekn
0
103

The End.