Log in up there

Not Logged In

You must be logged in before you can create a conception.

Not a member? Become one now!
Completely free, no personal info, and takes just seconds.

=256 ){ //there is a problem with the $ERROR['concept']="There is a problem with your conception title. Please remember the following: "; } //now we check to see if they are submitting a possible duplicate and had to check the box if($require_duplicate_check=="require_duplicate_check"){ if($duplicate_check!="checked"){ //they didn't check the box so we need to tell them to $ERROR['duplicate']="Since you might be entering a duplicate entry you need to check the box indicating you have made sure you aren't."; } } //check if this conception is unique or not if($duplicate_check!="checked"){ $result=database_query("SELECT id, concept FROM ConceptsBeta WHERE concept LIKE '%$concept%'"); if($result){ //echo "

RUNNING

"; if(mysql_num_rows($result)>0){ $ERROR['concept']="There are " . mysql_num_rows($result) . " conceptions in the database with a similar title. Please confirm you are not entering an exact duplicate before continuing."; $EXECUTE_DUPLICATE_CHECK=true; } } $result=database_query("SELECT id, concept FROM ConceptsBeta WHERE concept='$concept'"); if($result){ if(mysql_num_rows($result)>0){ $ERROR['concept']="There are " . mysql_num_rows($result) . " conceptions in the database with this exact same title. Please confirm you are not entering an exact duplicate before continuing."; $EXECUTE_DUPLICATE_CHECK=true; } } $result=database_query("SELECT id, concept FROM ConceptsBeta WHERE concept='$concept' AND author='$author'"); if($result){ if(mysql_num_rows($result)>0){ $ERROR['concept']="There are " . mysql_num_rows($result) . " conceptions in the database with this exact same title and author. Please confirm you are not entering an exact duplicate before continuing."; $EXECUTE_DUPLICATE_CHECK=true; } } } //validate the author(s) if( strlen($author)<=2 || strlen($author)>=256 || ctype_lower($author) || strpos($author, ",")!==false ){ //there is a problem with the $ERROR['author']="There is a problem with your author. Please remember the following: "; } if(!$ERROR){ //if we get here then the new submission is valid and we should put it in. //we start with the entry itself $result=database_query("INSERT INTO ConceptsBeta (concept, contributor, timestamp, status) VALUES ('$concept', '$username', NOW(), -1)"); if($result){ $result=database_query("SELECT id FROM ConceptsBeta WHERE concept='$concept' AND contributor='$username' AND status=-1 ORDER BY timestamp DESC LIMIT 1"); if($result){ $myrow=mysql_fetch_row($result); $newConceptID=$myrow[0]; //echo "

CONCEPT: $newConceptID

\n"; //make sure the newConceptID is legit if($newConceptID>0){ //the concept ID is valid so insert the author $result=database_query("INSERT INTO Authors (name, conceptID, created, updated) VALUES ('$author', $newConceptID, NOW(), NOW())"); if($result){ //the new author was added //we are all done inserting the new items ?>

Success

Your new conception has been created. You can now finish editing it and then submit.

TEST RESULTS: The new concept and author were created correctly.

\n"; } else{ //there was a problem inserting the author echo "

ERROR: There was a problem inserting the new author.

\n"; } } else{ //the concept ID wasn't valid so we have to skip adding the author echo "

New Concept ID failed, returned: $newConceptID

\n"; } } else{ echo "

COULD NOT GET THE ID NUMBER

\n"; } } else{ echo "

COULD NOT INSERT NEW CONCEPT

\n"; } //the test is done running. echo "

Your submission is considered valid. END TEST.

\n"; } } else{ //they didn't submit anything so do nothing but show a blank form } ?>

Add a New Concept

Thanks for contributing to the Conception Database. The process is easy, we will walk you through it in a few simple steps.

 

Conception
" . $ERROR['concept'] . "

"; } if ($ERROR['duplicate']){ echo "

" . $ERROR['duplicate'] . "

"; } if($EXECUTE_DUPLICATE_CHECK){ echo "

I understand there appears to be a similar conception already in the database and I believe my submission will not duplicate another entry, instead it will provide different, better, or contrary information.

\n"; } ?>

What is the name of the conception? Examples include "Framing" or "Social Penetration". Please don't start the name with words like "the" or "a" and you do not need to include "theory" if that is applicable.

Author
" . $ERROR['author'] . "

"; ?>

Who is the author of this conception? This might be another person such as Robert Entman for "Framing" or you might be sharing your own work, so you would be the author.

Write out the author's full name without commas like "Kenneth D. Burke".

Enter ONLY ONE author, if there are multiple authors enter the first one and you will be able to add the rest on the next page.

Member Information

You must be a member of SCLCR to contribute. Please provide your member username and password.

" . $ERROR['login'] . "

"; ?>
Your SCLCR Username:
Your SCLCR Password:
Get Started

Once you've entered that information click Edit Conception to provide the rest of your conception information. Thanks again for contributing.

\n"; } ?>