Search Results

Showing results 1 to 40 of 42
Search took 0.01 seconds.
Search: Posts Made By: dwdata
Forum: PHP 17 Days Ago
Replies: 3
Views: 168
Posted By dwdata
The Session is reading correctly.

I am not certain how to display the ERROR. Is there some code I can insert to display PHP errors? All I get is a BLANK white screen.
Forum: PHP 17 Days Ago
Replies: 3
Views: 168
Posted By dwdata
I am generating a PHP error with this function but don't know why.

Little help...



function Validate_Page_Nav($LastPage, $ErrorPage) {

if($_SESSION['Staff_ID']) {
$trimmed =...
Forum: PHP 19 Days Ago
Replies: 2
Views: 183
Posted By dwdata
Hello,

I have just started to develop a PHP/mySQL site and was wondering if there are any Open Source Security Frameworks they can recommended.

Not only do I want to deal with data hacking...
Forum: PHP Sep 25th, 2009
Replies: 0
Views: 216
Posted By dwdata
I have an upload page which allows a user to SELECT a file from their hard drive, then UPLOAD it to ftp folder, and then store the path of the image to mySQL db.

It functions just fine except BUT...
Forum: PHP Sep 24th, 2009
Replies: 0
Views: 193
Posted By dwdata
Does someone have or can they direct me to a javascript which will display an alert message when a date is not entered correctly. MM/DD/YYYY. I do not need an alert message if they clear the field -...
Forum: PHP Sep 21st, 2009
Replies: 5
Views: 288
Posted By dwdata
I've built a function which builds options for a SELECT FIELD. It draws options from a list table and then appends the SELECTED when the value that I am looping through in present in the $selected...
Forum: Web Development Job Offers Sep 19th, 2009
Replies: 1
Views: 854
Posted By dwdata
Hello,

For the last few months, I have been building a few sites using PHP/mySQL. For the most part I can get the bulk of the coding handled, but every once in a while I hit a snag where it would...
Forum: PHP Sep 19th, 2009
Replies: 1
Views: 222
Posted By dwdata
For some reason this function OMITS this very first row of my vType query.

The $vType is the name of my List
The $FieldValue is the value in the field associated record I am building the options...
Forum: PHP Aug 18th, 2009
Replies: 1
Views: 261
Posted By dwdata
Hello,

I am trying to work out a PHP page which establishes a sequenced rotation of ADS.

Here is the code so far. There are some elements missing that need help with.

<?php
...
Forum: PHP Aug 10th, 2009
Replies: 1
Views: 271
Posted By dwdata
I am trying to code some advertising banners on my page based on random picks from a table in my DB. I have successfully got my top banner to display and log an impression:


// Top Banner...
Forum: Project Partners Wanted Aug 4th, 2009
Replies: 8
Views: 580
Posted By dwdata
Hello,

I am looking for a skilled PHP/mySQL developer to partner with and assist me in completing a new potential profit making website. Must have strong Javascript and AJAX skills.

Please...
Forum: PHP Aug 2nd, 2009
Replies: 1
Views: 495
Posted By dwdata
I have one page that has several form actions:

form action="maze_enter.php" method="post" enctype="application/x-www-form-urlencoded" name="finance" target="_self">
<tr>
<td...
Forum: PHP Jul 27th, 2009
Replies: 4
Views: 243
Posted By dwdata
This works perfectly on the HTML side but I was hoping to get them into Variables and use the variables in my HTML.

I want to the first line's Username in a variable called $Auto1 and then line 2...
Forum: PHP Jul 27th, 2009
Replies: 4
Views: 243
Posted By dwdata
Hi all,

I have a query to return only 10 records:

$result = mysql_query ("SELECT * FROM sm_Solves ORDER BY solved_stamp DESC LIMIT 10;") or die ("error in query. ".mysql_error());

In this...
Forum: PHP Jul 15th, 2009
Replies: 0
Views: 149
Posted By dwdata
I have this code:


$query = "SELECT * FROM Ev_Songs where id_Event='$id_Event' Order by Pos";
$results = mysql_query($query) or die("Error performing query2");


will return a result like...
Forum: PHP Jul 15th, 2009
Replies: 4
Views: 363
Posted By dwdata
Yeah - it is definitely getting the right Letter. Is there a way to build the list via a LOOPING script?
Forum: PHP Jul 14th, 2009
Replies: 4
Views: 363
Posted By dwdata
I am getting some strange behavior with a PHP page I am coding:

I have some code that displays a MENU (with the letters of the alphabet):


<FORM NAME="getletter"...
Forum: PHP Jul 14th, 2009
Replies: 0
Views: 166
Posted By dwdata
I have a table called "Ev_Songs" which has these columns:

id (Primary)
id_Event (int)
id_Song (int)
Pos (int)

This table hold selected songs for a song set for an event. So if I have an...
Forum: PHP Jul 13th, 2009
Replies: 2
Views: 307
Posted By dwdata
GREAT! Thanks! it turns out that the /n is retained in the mySQL input so used this and it worked oerfectly:

<? echo str_replace('<br />', "", $row['Lyrics']); ?>

Appreciate it!
Forum: PHP Jul 13th, 2009
Replies: 2
Views: 307
Posted By dwdata
Hello,

I have a few Text Area input fields when I want to allow my users to enter text with hard returns. On my process page, I am using:

$Note = addslashes(nl2br($_POST['Note']));

to...
Forum: PHP Jul 10th, 2009
Replies: 7
Views: 827
Posted By dwdata
The code you gave is working correctly now as far as OUTPUT. All variables are getting populated correctly, although the mail() call is producing odd behaviors:

1) Even though I declare a $from in...
Forum: PHP Jul 10th, 2009
Replies: 7
Views: 827
Posted By dwdata
Oddest thing???

This is my CODE:


// Get all the Emails to include for a BBC bulk email
$query = "select Email FROM Ev_SchVolunteers WHERE id_Event='$id_Event'";
print_r($query);
$results...
Forum: PHP Jul 9th, 2009
Replies: 7
Views: 827
Posted By dwdata
I am trying to plot my way through coding a BCC Bulk HTML email.

I can't get the code below to work and I want to also call another query to grab the emails for a BCC email. SPAM security would be...
Forum: PHP Jul 8th, 2009
Replies: 3
Views: 501
Posted By dwdata
I have implemented a log-in routine that I thought captured SESSION variable to use through out all my PHP pages of my site. Here is the snippet of code which sets the session variables:


...
Forum: PHP Jul 7th, 2009
Replies: 4
Views: 255
Posted By dwdata
I think what I will do is define an Instruments table with a SortID and every time they select an instrument I will set the SortID in the "Ev_SchVolunteers" table. Then I can sort by the SortID...
Forum: PHP Jul 7th, 2009
Replies: 4
Views: 255
Posted By dwdata
Won't that ONLY get it in ASC order for each column. See the last part of my post. It has a order or Priority.
Forum: PHP Jul 7th, 2009
Replies: 4
Views: 255
Posted By dwdata
I have a query that retrieves records from a table:


<?php
$query = "select * FROM Ev_AvVolunteers where id_Event='$id_Event' ORDER BY Name";
$results = mysql_query($query) or die("Error...
Forum: PHP Jul 6th, 2009
Replies: 7
Views: 364
Posted By dwdata
I was able to fiddle with and find the combo. Here it is:


<?
$id_Vol = $_POST['SelVol'];
$id_Event = $_POST['id_Event'];
$Action = $_POST['Operation'];
print_r($_POST['Operation']);...
Forum: PHP Jul 6th, 2009
Replies: 7
Views: 364
Posted By dwdata
OK - I am getting farther. My second query is adding the record with the IDS populated correctly. The only problem in the first query. I need to find the one volunteer's record and:

1) store the...
Forum: PHP Jul 6th, 2009
Replies: 7
Views: 364
Posted By dwdata
$query = "select id,First_Name,Last_Name,Instrument from Volunteers where id=$id_Vol";
print_r($query);
$results = mysql_query($query) or die("Error performing query");
print_r($results);
$Name =...
Forum: PHP Jul 6th, 2009
Replies: 7
Views: 364
Posted By dwdata
Is that in my HTML page or ACTION page?

Will you include what needs changing please? Thanks!
Forum: PHP Jul 6th, 2009
Replies: 7
Views: 364
Posted By dwdata
Hi All,

For some reason, I cannot get the values to pass to the ACTION page correctly in the code below:

<?
$id_Event = '1';
?>

<head>
</head>
Forum: PHP Jul 5th, 2009
Replies: 3
Views: 383
Posted By dwdata
This worked perfectly. I added a SPACE after the COMMA to get it exactly the way I needed it. Every answer I get - the more I understand and learn ;-) Thanks much!
Forum: PHP Jul 5th, 2009
Replies: 3
Views: 383
Posted By dwdata
Hi,

I am trying to compile a detail page. Here is the code below:

<?php
require_once('auth.php');
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
Forum: PHP Jul 4th, 2009
Replies: 4
Views: 338
Posted By dwdata
Now I know something is wrong with the IF Statements (unless I am not understanding the right syntex: Here is my code:


<style type="text/css">
<!--
.style3 {font-size: 11px; font-family:...
Forum: PHP Jul 4th, 2009
Replies: 4
Views: 338
Posted By dwdata
Thanks! But I still don't have it.

I have a page called "header.php" which I use in ALL my pages as a INCLUDE () which brings in the logo banner display and the main LINKS (which I want to...
Forum: PHP Jul 4th, 2009
Replies: 4
Views: 338
Posted By dwdata
Hello,

Great forum!

I have implemented a USER LOG-IN scheme in my site. Below is the code to build my session variable data:


//Create query
$qry="SELECT * FROM volunteers WHERE...
Forum: PHP Jul 3rd, 2009
Replies: 6
Views: 501
Posted By dwdata
GREAT! It's all working now.
Forum: PHP Jul 3rd, 2009
Replies: 6
Views: 501
Posted By dwdata
OK I am doing this and now it does not display ANYTHING in my Instrument List:


<?php
// -- Edit record --
ServerConnect();
DB_Connect();

$id=$_GET['id'];
Forum: PHP Jul 3rd, 2009
Replies: 6
Views: 501
Posted By dwdata
Sorry. I am struggling with this. Base of the code I provided in the original post. Will you please modify it where the changes are needed. I can't seem to get the order right. I am sure once I see...
Showing results 1 to 40 of 42

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC