Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for changeco

I have the following code in my xsl file... [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!ENTITY copy "©"> <!ENTITY reg "®"> <!ENTITY trade "™"> <!ENTITY mdash "—"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”"> <!ENTITY pound "£"> <!ENTITY yen "¥"> <!ENTITY euro "€"> <!ENTITY amp "&"> ]> <xsl:stylesheet …

Member Avatar for changeco
0
272
Member Avatar for changeco

I have a small problem with a code snippet for a random display of images on a page... first off I have a table that has 10 records, only 3 of them have pictures, I need the pictured records to display randomly... I can get a random display of ALL …

Member Avatar for rch1231
0
53
Member Avatar for changeco

I have the following code and need to not display decimals... I'm unsure where to add a round() function... [code]<?php $nmdwiid = $row_eLearningSuite['nmdwiid']; $sql = "SELECT COUNT(*) AS total FROM eLearningSuiteProduct"; $query = mysql_query($sql); $recordset = mysql_fetch_assoc($query); $count = $recordset["total"]; echo $nmdwiid/$count * 100; ?> [/code] Any help would be …

Member Avatar for changeco
0
111
Member Avatar for changeco

I wrote this piece of code to pull out the count of users(rtnUser) subscribed to a class(CDID)... However, I get a count of '0'... I'm not sure if I have the variables reading correctly... I second set of eyes would be great... [code]<?php $cdid = $row_rtnUser['CDID']; $sql = "SELECT COUNT(CDID) …

Member Avatar for changeco
0
153
Member Avatar for changeco

I need to make a Registration show hide based on whether you are > 48 hours or =< 48 hours out... I wrote this before based on a start and end time... [CODE]<?php $startdate = $row_product['startdate']; $enddate = $row_product['enddate']; $todays_date = date("Y-m-d"); if ($enddate <= $todays_date) { header('Location: expired.php'); } …

Member Avatar for changeco
0
116
Member Avatar for changeco

You could say I bit off more than I could chew... However, what's done is done and I'm pulling the rest of my hair out and looking to the DaniWeb community for help... I am building a site that people can log in to and select classes that are owned …

Member Avatar for theonly
0
139
Member Avatar for changeco

We have a set of data we want to navigate through, the content will remain static so the dynamic portion of it will be religated to an xml file using an xsl template then being processed by a php page... I have valid xml, xsl and php - but - …

0
51
Member Avatar for changeco

I have two php pages - home.php and player.php... home.php has a loop to show all the products EID has associated with it including TOTALPLAYS, PLAYCOUNT, USER, PASS, PRODUCT and PRODUCTPATH... player.php has a small script to find out if PLAYCOUNT > TOTALPLAYS as well as pulling in the PRODUCTPATH …

Member Avatar for changeco
0
123
Member Avatar for changeco

Does anyone know a way to check if the Google Calendar server is having problems (internal 500 error) and display a line of code saying "We are experiencing technical difficulties" instead of Googles lame debugging? I assume it would need to be some sort of ajax/php combination to check the …

Member Avatar for gotschai
0
59
Member Avatar for changeco

I wrote this code and I can't get it disappear on mouseout.. [CODE]<script language="javascript" type="text/javascript"> var activeLayer = "0"; function highlight(theLayer) { highlighter = document.all? document.all[theLayer] : document.getElementById? document.getElementById(theLayer) : "" } function lowlight(theLayer) { lowlighter = document.all? document.all[theLayer] : document.getElementById? document.getElementById(theLayer) : "" } function JumpToNav(navIndex) { newNav = …

Member Avatar for changeco
0
193
Member Avatar for changeco

I tweaked a search script I found months ago, and am now getting back around to fixing it... I need some help debugging it... [code] if(isset($_GET['search'])) { $search = $_GET['search']; } $search = trim($search); $search = preg_replace('/\s+/', ' ', $search); $keywords = explode(" ", $search); $keywords = array_diff($keywords, array("")); if …

Member Avatar for diafol
0
97
Member Avatar for changeco

I'm sure this is a nOOb questions, but... I have a form that's action is an external page and the onSubmit action on the form is blocking ANY javascript validation I'm trying... I've tried all the following options; Spry validation, Dreamweavers built in validation, Webassists server and client validation... If …

Member Avatar for changeco
0
66
Member Avatar for changeco

I have a small database, at the present time, built for basic tracking and it has 5 rows ... trackid datetime uid emailaddress orgcodetrack It's populate with 10 records test data from 3 users (uid)... I need to return the total visits from each uid... Here's what I have so …

Member Avatar for changeco
0
151
Member Avatar for changeco

I have a registration page that needs one final thing and I'm a little stumped... In one table I have email, pass, gender, dob and the other I have company... In the registration page, I want to check that the company exists before I submit the form... Since I'm using …

Member Avatar for changeco
0
106
Member Avatar for changeco

I have a small elearning app and I want to check against the DB for the start and end dates (from mysql) and if they meet the criteria, good, else location.redirect to expired.php?? It doesn't redirect, any suggestions? Here's an example below... [code] function Timebomb() { var StartDate = <?php …

Member Avatar for nav33n
0
97
Member Avatar for changeco

OK, basically I want to check the DB against the elearningid... if the elearningid startdate and enddate are valid, continue, else redirect to expired.php... EXAMPLE: [code] <?php function TimeBomb() { rs = sql.Execute(" SELECT * FROM elearning WHERE elearningid=@elearningid AND GetDate() BETWEEN startdate AND enddate "); if (rs.RowCount > 0) …

Member Avatar for mschroeder
0
92
Member Avatar for changeco

I'm not new to php, but, I'm not a great coder either... I'm not too familiar with sessions and session variables. I have been tasked with building an online "management" system for the eLearning we're offering. We have one .swf file for eLearning currently, but, have 23 in production so …

Member Avatar for blocblue
0
90