Click here to Skip to main content
14,544,858 members

Article Writing

 
PinnedFound plagiarism? Not sure if it is plagiarism? PinPopular
Sean Ewington30-Jul-15 5:25
editorSean Ewington30-Jul-15 5:25 
PinnedNote From Code Project - The Article Writing Forum PinPopular
Sean Ewington17-Jul-09 4:12
editorSean Ewington17-Jul-09 4:12 
QuestionBlogs needing help (again) Pin
Nelek30-May-20 1:30
protectorNelek30-May-20 1:30 
QuestionBlogs needing help Pin
Nelek26-May-20 9:08
protectorNelek26-May-20 9:08 
QuestionMy article has been deleted Pin
Издислав Издиславов26-May-20 3:51
MemberИздислав Издиславов26-May-20 3:51 
AnswerRe: My article has been deleted Pin
Sean Ewington26-May-20 4:05
editorSean Ewington26-May-20 4:05 
GeneralRe: My article has been deleted Pin
Издислав Издиславов26-May-20 4:11
MemberИздислав Издиславов26-May-20 4:11 
GeneralRe: My article has been deleted Pin
Sean Ewington26-May-20 4:38
editorSean Ewington26-May-20 4:38 
GeneralRe: My article has been deleted Pin
Издислав Издиславов26-May-20 19:32
MemberИздислав Издиславов26-May-20 19:32 
QuestionBlogs needing help Pin
Nelek24-May-20 19:20
protectorNelek24-May-20 19:20 
QuestionMy Article is closed, May I know why Pin
nidbk24-May-20 13:28
Membernidbk24-May-20 13:28 
AnswerRe: My Article is closed, May I know why Pin
Nelek24-May-20 19:27
protectorNelek24-May-20 19:27 
AnswerRe: My Article is closed, May I know why Pin
OriginalGriff24-May-20 20:05
mveOriginalGriff24-May-20 20:05 
GeneralRe: My Article is closed, May I know why Pin
nidbk25-May-20 5:18
Membernidbk25-May-20 5:18 
GeneralRe: My Article is closed, May I know why Pin
OriginalGriff25-May-20 5:35
mveOriginalGriff25-May-20 5:35 
GeneralRe: My Article is closed, May I know why Pin
Nelek25-May-20 8:49
protectorNelek25-May-20 8:49 
GeneralRe: My Article is closed, May I know why Pin
OriginalGriff25-May-20 8:50
mveOriginalGriff25-May-20 8:50 
GeneralRe: My Article is closed, May I know why Pin
nidbk25-May-20 11:30
Membernidbk25-May-20 11:30 
GeneralRe: My Article is closed, May I know why Pin
Nelek26-May-20 9:12
protectorNelek26-May-20 9:12 
QuestionImages disappeared Pin
Thomas Daniels22-May-20 2:38
mvaThomas Daniels22-May-20 2:38 
AnswerRe: Images disappeared Pin
Sean Ewington22-May-20 3:17
editorSean Ewington22-May-20 3:17 
GeneralRe: Images disappeared Pin
Thomas Daniels22-May-20 3:19
mvaThomas Daniels22-May-20 3:19 
GeneralRe: Images disappeared Pin
Sean Ewington22-May-20 3:23
editorSean Ewington22-May-20 3:23 
QuestionHelp with my PHP,Notice: Undefined index Pin
Arturo Morales8-May-20 15:45
MemberArturo Morales8-May-20 15:45 
I'm workin on my website, so when I was testint my DB and PHP on XAMPP everythig was going OK, but after I put all my code an DB on a server, 000webhost, the message

Notice: Undefined index: idRegistro in /storage/ssd1/565/13577565/public_html/paginas/guardar.php on line 10

appears in the screen, I'll put my code for someone who can helps.

<?php 

#Esta sentencia establece la conexión con la BD llamando al archivo conexion.php
include('conexion.php');
$con=ConectaBD();
if(empty($_POST['idRegistro']))
{
 $SQLguardar=
 	"INSERT INTO solicitudes(idRegistro,nombre,apellidos,correo,puesto) 
 	VALUES('".$_POST['idRegistro']."','".$_POST['nombre']."','".$_POST['apellidos']."','".$_POST['correo']."','".$_POST['puesto']."')";
 $query=mysqli_query($con,$SQLguardar);
}

else{
#Posteriormente actualiza el contenido en los registos de la tabla
$update=
	"UPDATE solicitudes 
	SET idRegistro='".$_POST['idRegistro']."',nombre='".$_POST['nombre']."',apellidos='".$_POST['apellidos']."', correo='".$_POST['correo']."',puesto='".$_POST['puesto']."'  
	WHERE idRegistro='".$_POST['idRegistro']."'";
 $queryAct=mysqli_query($con,$update);
}

#header('location:form.php');

?>

AnswerRe: Help with my PHP,Notice: Undefined index Pin
Richard MacCutchan8-May-20 21:54
mveRichard MacCutchan8-May-20 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.