Search found 10 matches

by dj262501
Mon Sep 27, 2010 8:12 pm
Forum: PHP - Code
Topic: need help validating php
Replies: 1
Views: 29

need help validating php

Hello all, I need your help again. I have this page where the user inputs data: <?php include "include/dbc.php"; include "include/header.inc"; #error checking will go here ?> <style type="text/css"> .mydate{ color:#00F; text-decoration:underline; cursor:pointer; } </sty...
by dj262501
Fri Sep 24, 2010 6:12 pm
Forum: PHP - Code
Topic: need help elimiating empty values
Replies: 1
Views: 112

need help elimiating empty values

Hello, Im having trouble and need your help. I have two pages. The first establishes the table and calls up a database: <?php include "include/dbc.php"; include "include/header.inc"; ?> <style type="text/css"> .mydate{ color:#00F; text-decoration:underline; cursor:point...
by dj262501
Thu Sep 23, 2010 9:12 am
Forum: PHP - Code
Topic: need help with php if/else statement
Replies: 0
Views: 86

need help with php if/else statement

Hello all, I need your help. I have two pages. This is the 1st page: <?php include "include/dbc.php"; include "include/header.inc"; ?> <style type="text/css"> .mydate{ color:#00F; text-decoration:underline; cursor:pointer; } </style> <script type="text/javascript&q...
by dj262501
Mon Sep 20, 2010 12:20 pm
Forum: PHP - Code
Topic: Singling out user data
Replies: 2
Views: 214

Re: Singling out user data

Thanks, but that's not working. It returns a syntax error:

[text]
Parse error: syntax error, unexpected T_ECHO in /home/fffinc/public_html/i/act3.php on line 92
[/text]
by dj262501
Fri Sep 17, 2010 9:11 am
Forum: PHP - Code
Topic: Singling out user data
Replies: 2
Views: 214

Singling out user data

Hello all, I need some help with php code. I have two pages. The first is used to get the user info and the second to post it. Here's the first page: <?php include "include/dbc.php"; include "include/header.inc"; ?> <style type="text/css"> .mydate{ color:#00F; text-deco...
by dj262501
Thu Sep 16, 2010 7:43 am
Forum: PHP - Code
Topic: I need help only passing user input
Replies: 1
Views: 144

I need help only passing user input

I appreciate your help guys. I was able to do something to the code. Now it looks like this: <?php include "include/dbc.php"; include "include/header.inc"; ?> <script type="text/javascript"> <!--Hide Code // Function Statements //Function to confirm submit function conf...
by dj262501
Wed Sep 15, 2010 11:48 am
Forum: PHP - Code
Topic: I can't get text values to show
Replies: 6
Views: 355

Re: I can't get text values to show

I've been looking at this for awhile. Does anyone has any suggestions as to how I can fix this?
by dj262501
Wed Sep 15, 2010 6:46 am
Forum: PHP - Code
Topic: I can't get text values to show
Replies: 6
Views: 355

Re: I can't get text values to show

The way you've done it, there are multiple versions of all those fields. They all have the same name. Only the last one on the page will be available to you, and apparently it's empty. Use arrays. Name your fields with a [] at the end and you'll get an array. For example, echo '<tr><td><div>'.$row[...
by dj262501
Wed Sep 15, 2010 6:38 am
Forum: PHP - Code
Topic: I can't get text values to show
Replies: 6
Views: 355

Re: I can't get text values to show

It seems the only way for me to get the values of the fields named duration and distance are to hard-code them In the example script you gave, you have already hard-coded the values in? Just trying to clear up a bit of confusion because the output you show doesn't match the script (for me anyway). ...
by dj262501
Tue Sep 14, 2010 2:28 pm
Forum: PHP - Code
Topic: I can't get text values to show
Replies: 6
Views: 355

I can't get text values to show

Hello all, I'm a novice php coder who is having some code trouble. Here's what I have: <?php include "include/dbc.php"; include "include/header.inc"; ?> <script type="text/javascript"> <!--Hide Code // Function Statements //Function to confirm submit function confirmSub...