Forum: JavaScript / DHTML / AJAX Jul 5th, 2008 |
| Replies: 0 Views: 677 delete and refresh search results 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: 285 Re: Help with parse and undefined errors 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: 351 Re: Multiple search 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: 676 Re: Small catalog problem 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: 511 Re: checkboxes problem 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: 502 |
Forum: PHP Mar 5th, 2008 |
| Replies: 3 Views: 734 Re: PHP codes to search MySQL 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: 768 Re: Image in database 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'])) {
$colname_rsProjects... |
Forum: PHP Feb 28th, 2008 |
| Replies: 7 Views: 768 Re: Checkbox Arrays ARGH!! 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: 768 Re: Checkbox Arrays ARGH!! 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 the... |
Forum: PHP Feb 27th, 2008 |
| Replies: 6 Views: 365 Re: OPTION problem 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: 768 Re: Checkbox Arrays ARGH!! 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: 497 Re: Array values for validation 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 ^... |
Forum: PHP Feb 27th, 2008 |
| Replies: 7 Views: 768 Checkbox Arrays ARGH!! 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... |
Forum: PHP Feb 27th, 2008 |
| Replies: 9 Views: 497 |
Forum: PHP Feb 22nd, 2008 |
| Replies: 9 Views: 497 Re: Array values for validation 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... |
Forum: PHP Feb 21st, 2008 |
| Replies: 9 Views: 497 Re: Array values for validation 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: 497 Re: Array values for validation 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. I... |
Forum: PHP Feb 21st, 2008 |
| Replies: 9 Views: 497 Array values for validation 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: 5 Views: 895 |
Forum: PHP Nov 12th, 2007 |
| Replies: 3 Views: 2,567 Re: how to pass a php array to a sql query 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: 1,674 |
Forum: PHP Nov 10th, 2007 |
| Replies: 22 Views: 1,674 |
Forum: PHP Nov 7th, 2007 |
| Replies: 3 Views: 1,178 Re: problem comparing strings 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: 1,614 Re: mailer.php almost works :| 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" . '$cpo'... |
Forum: PHP Nov 7th, 2007 |
| Replies: 6 Views: 3,042 |
Forum: PHP Oct 27th, 2007 |
| Replies: 1 Views: 1,872 Re: multiple update with text boxes 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: 470 Re: PHP ?queries - How to? 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: 1,417 |
Forum: PHP Sep 27th, 2007 |
| Replies: 12 Views: 1,417 |
Forum: PHP Sep 26th, 2007 |
| Replies: 9 Views: 1,501 Re: php header include on html? (picture gallery) 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 on... |
Forum: PHP Sep 26th, 2007 |
| Replies: 12 Views: 1,417 |
Forum: PHP Sep 25th, 2007 |
| Replies: 12 Views: 1,417 |
Forum: PHP Sep 25th, 2007 |
| Replies: 12 Views: 1,417 |
Forum: PHP Sep 23rd, 2007 |
| Replies: 12 Views: 1,417 Page numbering for printing out an online manual 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: 541 Re: Database error 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: 922 |
Forum: PHP Sep 13th, 2007 |
| Replies: 6 Views: 1,686 |
Forum: PHP Sep 12th, 2007 |
| Replies: 5 Views: 1,993 Re: PHP Dynamic Form HELP! 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,028 Re: Need help with session in php..... 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... |