Forum: JavaScript / DHTML / AJAX Jul 5th, 2008 |
| Replies: 0 Views: 876 Hello all..I am working on a search script that I am using AJAX and dynamic html to show results within a table. based on the users search criteria, I display the results and a summary of those... |
Forum: PHP Mar 13th, 2008 |
| Replies: 1 Views: 562 please post the codes that are referenced in the above error. We can't help you with out seeing the scripts.
Look at the lines that are giving you the error to see what the code contains. |
Forum: PHP Mar 13th, 2008 |
| Replies: 2 Views: 885 you can also look at this post for some additional help or options
http://www.daniweb.com/forums/post553273.html#post553273 |
Forum: PHP Mar 8th, 2008 |
| Replies: 9 Views: 1,115 Place a hidden field in your script relating to the item in the record set that you are calling, and use something like this:
<a href="viewprod.php?ID=<?php echo $rs['ID'];... |
Forum: PHP Mar 7th, 2008 |
| Replies: 11 Views: 999 Hi,
Even though it is a fairly advanced script you could try looking at this post:
http://www.daniweb.com/forums/thread111225.html
or you can do a search on checkboxes and find a few additional... |
Forum: PHP Mar 7th, 2008 |
| Replies: 3 Views: 1,253 Hi,
Try removing the
ob_start();
at the top of your code.
Also, shouldn't your variables be this:
$myquestion1=$_POST['question1'];
$myquestion2=$_POST['question2'];... |
Forum: PHP Mar 5th, 2008 |
| Replies: 3 Views: 1,460 The script I am posting is a fairly advanced search page using left joins on tables, but I think you can grasp what the script is doing. This search allows for 3 different types of search methods... |
Forum: PHP Mar 4th, 2008 |
| Replies: 11 Views: 1,328 Hi...something like this may help get you pointed in the right direction
<?
php require_once('/Connections/connect.php');
$colname_rsProject = "-1";
if (isset($_GET['ID'])) {
... |
Forum: PHP Feb 28th, 2008 |
| Replies: 7 Views: 1,374 Here is the code that I used and tested:
<?php require_once('../Connections/mambo.php'); ?>
<?php
error_reporting(E_ALL ^ E_NOTICE);
session_start();
if((isset($_POST["Submit"])) &&... |
Forum: PHP Feb 28th, 2008 |
| Replies: 7 Views: 1,374 Hey there,
Yes after my "Brain-Cloud" left me for the day, I realized that I needed to delete the original values stored and reset them with the new values.
I managed to get this done.
Thanks for... |
Forum: PHP Feb 27th, 2008 |
| Replies: 6 Views: 666 Not sure if your porblem is solved yet, but here is something I use all the time for drop downs.
First get your connection string going. preferably using an include.
then use the following code,... |
Forum: PHP Feb 27th, 2008 |
| Replies: 7 Views: 1,374 Thanks for the input. I do see that the "if" is missing as I was doing the "cut and paste thing".
I understand what you are saying there, but unsure right now on how to exactly write what I need it... |
Forum: PHP Feb 27th, 2008 |
| Replies: 9 Views: 847 OK...here it is in all it's "Glory"
<?php require_once('../Connections/training.php'); ?>
<?php require_once('../Connections/mambo.php'); ?>
<?
error_reporting(E_ALL ^ E_NOTICE);... |
Forum: PHP Feb 27th, 2008 |
| Replies: 7 Views: 1,374 Hello all,
I have a form that contains checkboxes to update a database with either "Yes" or "No" based on the user selection.
The check boxes are in an array with the values set to a "LinkID"... |
Forum: PHP Feb 27th, 2008 |
| Replies: 9 Views: 847 I have been able to sort all this out. If anyone is interested, please let me know and I will post he code. |
Forum: PHP Feb 22nd, 2008 |
| Replies: 9 Views: 847 I have a form that contains a repeating region that allows an admin to set permissions on menus. I have a select box named "menuassignmnets[]" that I am displaying the options of "", "Yes" or "No".... |
Forum: PHP Feb 21st, 2008 |
| Replies: 9 Views: 847 menuassignment is an array for insert/update
<select name="menuassignment[]">
<option value=""
<?php
$OK = isset($_POST['menuassignment']) ? true : false;
if ($OK && isset($missing) &&... |
Forum: PHP Feb 21st, 2008 |
| Replies: 9 Views: 847 please forgive me, I should have clarified myslef and code a bit better.
the question about
$expected = array('menuassignment');
This resides in a part of the error checking as shown below.... |
Forum: PHP Feb 21st, 2008 |
| Replies: 9 Views: 847 Good day all!
I have been working on a project that requires me to to the following:
Select a user from a list, on submit go to next page.
The next page contains the session variable $id of the... |
Forum: PHP Nov 13th, 2007 |
| Replies: 7 Views: 2,785 I have built a dynamic select box for something like this.
Here I populate the select options with information from a table:
(I also created the "sticky" to hold the users input upon error checking... |
Forum: PHP Nov 12th, 2007 |
| Replies: 3 Views: 7,274 Your request sounds a bit confusing, but I did a quick project that accomplishes something that you may be able to at least work with.
Please note this took me about 15-20 mintes to complete and... |
Forum: PHP Nov 10th, 2007 |
| Replies: 22 Views: 2,685 Look through code for additional errors as notated between lines
////////////////
/////////////// |
Forum: PHP Nov 10th, 2007 |
| Replies: 22 Views: 2,685 <div class="side"><?php if (have_posts()) : ?>
Notice the : after posts())
change this to ; |
Forum: PHP Nov 7th, 2007 |
| Replies: 3 Views: 2,172 SQL Server stores the datetime in a certain manner. The variable $date1 that you have set looks to be in the incorrect format.
Take a look at this to get a bit more information.... |
Forum: PHP Nov 7th, 2007 |
| Replies: 2 Views: 2,999 try placing the variables in single quotes like this:
$full_message = $_SERVER['REMOTE_ADDR'] . "\n\n" . '$ccomments '. "\n\n" . '$cname' . "\n\n" . '$cphone' . "\n\n" . '$cstreet' . "\n\n" .... |
Forum: PHP Nov 7th, 2007 |
| Replies: 6 Views: 8,184 I don't see anywhere in your form the value of 'id'
Place a hidden field in your form to hold this value so the SQL statement will read the value and update. |
Forum: PHP Oct 27th, 2007 |
| Replies: 1 Views: 3,172 I am using a similar approach to a from I have where the admin must assign applications access to users. I have error checking in the form to avoid duplicates, but at least it should give you an idea... |
Forum: PHP Oct 21st, 2007 |
| Replies: 1 Views: 722 If you are using a database to store the information, create a recordset for your values displayed on your product page.
the example below will take the user to a page called productInfo.php and... |
Forum: PHP Sep 27th, 2007 |
| Replies: 12 Views: 2,375 for page printing maybe a loop through of the section/contents??? |
Forum: PHP Sep 27th, 2007 |
| Replies: 12 Views: 2,375 Thanks!
No changes thus far..just a quick question...can the text file contain images and html code?
nice job so far though |
Forum: PHP Sep 26th, 2007 |
| Replies: 9 Views: 3,836 Dave,
Is there some really good reason to have the pages end with a .html? PHP can read a plain old html file without any php coding in it. If you are on a GoDaddy server (which I have a few sites... |
Forum: PHP Sep 26th, 2007 |
| Replies: 12 Views: 2,375 The manual is broken down as so:
Table of Contents (no page number for this)
Introduction
Physical Basics
BASIC PRINCIPLES
Balance/Defensive Stance
Pivot
The Front... |
Forum: PHP Sep 25th, 2007 |
| Replies: 12 Views: 2,375 Hey many thanks for the thoughts...
Can you give me a bit more info on how you would process the entire manual from one php page? As in a function of some sort...maybe from the table of contents... |
Forum: PHP Sep 25th, 2007 |
| Replies: 12 Views: 2,375 Currently the manual is set up as both separate pages and a "main page" for each section that flows from one sub-section to the next. I used anchors within this page to navigate.
From the Table of... |
Forum: PHP Sep 23rd, 2007 |
| Replies: 12 Views: 2,375 Hello to all!
I have an online manual (developed in php)that my company would like to revise for printing purposes. What I need to do is have this manual setup to include page numbering on the... |
Forum: PHP Sep 22nd, 2007 |
| Replies: 3 Views: 954 UPDATE (http://www.daniweb.com/forums/thread90382.html#) session SET newposts = newposts+1 WHERE NOT ISNULL(newposts);
Try this
UPDATE session SET newposts = newposts+1 WHERE newposts !NULL; |
Forum: PHP Sep 15th, 2007 |
| Replies: 1 Views: 1,649 I have tested you code and found that it works.
the only thing I did different was place this code at the top of the script:
error_reporting(E_ALL ^ E_NOTICE);
once I did that it worked fine.... |
Forum: PHP Sep 13th, 2007 |
| Replies: 6 Views: 2,955 try the case statements like this:
case'1': echo 'File exceeded upload_max_filesize';
break;
case'2': echo 'File exceeded max_filesize';
break;
case'3': echo 'File only partially... |
Forum: PHP Sep 12th, 2007 |
| Replies: 5 Views: 3,214 Ok a walk through for you:
I created tables based on what your post contained, and inserted some values that I could use to test out the code on. The following are the tables and the "dummy" info;
... |
Forum: PHP Sep 9th, 2007 |
| Replies: 3 Views: 1,380 This can be performed like this:
login.php page
<?php require_once('Connections/phpForum.php'); ?>
<?php
error_reporting(E_ALL ^ E_NOTICE);
// *** Validate request to login to this site.
if... |