Forum: PHP Nov 30th, 2006 |
| Replies: 3 Views: 2,208 |
Forum: PHP Nov 30th, 2006 |
| Replies: 3 Views: 1,640 i think what you're talking about are called 'permissions'. you want certain users to have perission to only certain pages. i'm not sure how to do this, as i've never done it myself. but i would... |
Forum: PHP Nov 29th, 2006 |
| Replies: 5 Views: 4,157 i'm writing a redirect.php page for a CMS. the admin user makes whatever changes they want to certain information in the database, then clicks submit. they are taken to redirect.php which handles all... |
Forum: PHP Nov 29th, 2006 |
| Replies: 1 Views: 4,041 hello all, i'm building a CMS and i'm have some trouble with a certain page i've been working on. I have information stored in my database that the admin user can edit and update and change,... |
Forum: PHP Nov 28th, 2006 |
| Replies: 1 Views: 7,243 for some reason or another, my AUTO_INCREMENT command won't work in my sql table for the column named 'ID'. i have no idea why. it SHOULD work, but it doesn't. anyway, that's not really much of an... |
Forum: PHP Nov 28th, 2006 |
| Replies: 12 Views: 4,326 i have a question, what if you had many search fields to search a table. for instance, if you had a table with many columns (that you would search through) like first name, last name, birth date, how... |
Forum: PHP Nov 27th, 2006 |
| Replies: 7 Views: 12,959 IT WORKS IT FINALLY WORKS!!!!! it was the '*' and the single quotes in the SQL query that were causing all the problems!!!! IT WORKS!!!!
$_POST['delete'];
if($_POST['delete'] != NULL){
... |
Forum: PHP Nov 27th, 2006 |
| Replies: 7 Views: 12,959 here's what my HTML checkbox looks like...
<TD align=center><input type=checkbox name=delete[] value=". $row['uID'] .">
here's my foreach loop...
foreach($_POST['delete'] as $k => $c){
... |
Forum: PHP Nov 27th, 2006 |
| Replies: 3 Views: 1,208 awesome post, alkaholik (http://www.daniweb.com/techtalkforums/member128427.html). sorry to hear about your condition. |
Forum: PHP Nov 22nd, 2006 |
| Replies: 7 Views: 12,959 does NOT work. what is wrong with my code before i shoot somebody!!!!!
/*****DEBUG INFO*******
echo "<pre>";
print_r($_POST['delete']);
echo implode($_POST['delete'], ",... |
Forum: PHP Nov 22nd, 2006 |
| Replies: 7 Views: 12,959 that IS very useful, thank you =) except the page will just reload and display the new results (after deletion of old results). |
Forum: PHP Nov 21st, 2006 |
| Replies: 7 Views: 12,959 hey all! i've got a CMS i'm working on and i have a couple of HTML tables that are populated via php loops communicating with the SQL database. got it? good.
at the end of each row in the HTML... |
Forum: PHP Nov 21st, 2006 |
| Replies: 2 Views: 1,072 it's supposed to be processed as many times as it needs to be in order to generate an ID that hasn't already been created. it checks every time it is generated by connecting to the SQL table and... |
Forum: PHP Nov 21st, 2006 |
| Replies: 2 Views: 1,072 i get this error:
Parse error: parse error, expecting `';'' in /../../../../addCouple.php on line 156
@ $db = mysql_connect("yah", "blah", "blah");
mysql_select_db("registry_DB",... |
Forum: PHP Nov 17th, 2006 |
| Replies: 11 Views: 2,875 i'm very interested. i'm a noob too, but i think i can do it. but i'm a little baked right now and jamming TOOL. so i'll get back to you later tonight for sure. very interesting. |
Forum: PHP Nov 17th, 2006 |
| Replies: 3 Views: 2,797 for example... my SQL table looks like this:
+--------------+------+-------------+------------------+
| CATEGORY | ITEM | QTY_REQ | STILL_NEEDS |... |
Forum: PHP Nov 16th, 2006 |
| Replies: 3 Views: 2,797 i have a mysql table with a few columns. some of the rows in this table might contain the same content in the same column. for instance. my column titles are 'uID' 'product' 'item' 'need' 'yah'... |
Forum: PHP Nov 16th, 2006 |
| Replies: 6 Views: 2,333 the tables don't exist yet, but the database does... i get the following error when i click the submit button for a search. it seems to be combining my database name AND my table name....
Table... |
Forum: PHP Nov 16th, 2006 |
| Replies: 6 Views: 2,333 |
Forum: PHP Nov 16th, 2006 |
| Replies: 1 Views: 1,254 i'm working on a simple search and results project. i don't have the database setup yet, but i'm working on that as we speak. i'd like for this to work the FIRST time i run it after the database is... |
Forum: PHP Nov 16th, 2006 |
| Replies: 6 Views: 2,333 i don't see anything wrong with it... what's the deal? this is the results page that displays the results of a search query.
Parse error: parse error in ../../../../merchandise/testreg/results.php... |
Forum: PHP Nov 15th, 2006 |
| Replies: 2 Views: 1,041 it sounds like you're using what's called a CMS (content management system). are you? if so, what is it called? |
Forum: PHP Nov 15th, 2006 |
| Replies: 11 Views: 27,274 http://www.w3schools.com/wmlscript/default.asp
http://codewalkers.com/tutorials/90/1.html
should be a good start. |
Forum: PHP Nov 15th, 2006 |
| Replies: 4 Views: 1,993 that doesn't make any damn sense. it should make no difference what line the ';' is on. |
Forum: PHP Nov 15th, 2006 |
| Replies: 4 Views: 1,993 first, connect to the database, second, mysql_query() is necessary. third, don't put single quotes around your variables inside your sql query. and fourth, 'item = $item' is unnecessary; simply put... |
Forum: PHP Nov 14th, 2006 |
| Replies: 7 Views: 6,360 actually, i think i've got it. will somebody tell me if i got it right or if there are any problems with the code? thanks in advanced.
<?php
//registry.php
@ $db = mysql_connect("host",... |
Forum: PHP Nov 14th, 2006 |
| Replies: 7 Views: 6,360 that helps a lot bro. but maybe i'm not explaining the issue properly. imagine a SQL table with 4 columns. the first column is named 'category'. the second is named 'item'. the other two, 'size',... |
Forum: PHP Nov 14th, 2006 |
| Replies: 7 Views: 6,360 i've got another question. if i have a SQL table with, i dunno, 7 columns in it. how do i write a script to categorize all the rows with the same name in their first column? and then write a loop to... |
Forum: PHP Nov 14th, 2006 |
| Replies: 7 Views: 6,360 here's the thing. i'm also creating a CMS with this. the administrator will be able to go into a GUI that i created, and add, edit, delete, modify information. i believe i'm going to have to have one... |
Forum: PHP Nov 14th, 2006 |
| Replies: 7 Views: 6,360 so, i decided that it would be much better to use a two-dimensional array to handle this situation. i'm going to let the SQL database table that i call in the beginning of 'registry.php' to refer to... |
Forum: PHP Nov 13th, 2006 |
| Replies: 7 Views: 6,360 let's just say that this page i'm writing is called 'registry.php'. this page will be more-or-less a template, however contents of this page will vary depending on one variable. the variable is the... |
Forum: PHP Nov 13th, 2006 |
| Replies: 0 Views: 954 hello all! i am writing a piece of a wedding website in php. this piece of the website is called a bridal registry. when a couple gets married, they tell people that they are registered at my... |
Forum: PHP Nov 12th, 2006 |
| Replies: 12 Views: 11,655 sorry about not getting back to you last night. i had a celebration at my house. unexpected surprize party for me regarding my new job. i've been working on the tutorial, but Forged's link looks like... |
Forum: PHP Nov 11th, 2006 |
| Replies: 12 Views: 11,655 then, what you want is the paypal API. basically you want paypal on YOUR page, without redirecting or anything like that. in fact, you probably don't even want it to LOOK like paypal, just a little... |
Forum: PHP Nov 11th, 2006 |
| Replies: 12 Views: 11,655 it is NOT difficult. i work for a web-development company and i just did it for a site.
www.hiphopjam4kidz.com
i am writing a tutorial on how to do it this for my company weekend. i'll be more... |