Like I said, I found the script in a tutorial somewhere, and my knowledge of php is too little to sort things out myself..
Maybe this helps, the script from were all contentmessages are listed and through links can be deleted or editted.
Then we come in the edit script were I get this error...
I've tried several ways to fit in your suggestion but it's not getting any better..
D*mn.. was so close with this script..
I've no clue what to do now..
Should I post the other scripts ?
You're doing several odd things here."
Hmm glad I just found this script.. ;-)
Oke, I commented out:
$submit='';
changed back
$id= $_GET['id'];
left this:
<form action="<? echo $PHP_SELF; ?>" method="POST">
Result:
Undefined index on line 42 =
if (!$submit)
{
// open database connection...
Actually, it's part of a few scripts..
This is the script where content should become editable..
Please let me know if you need more info..
Appreciate the help !
Oke, this is the entire (edit.php)script:
Now with the POST in it, I get the undefined index again..
<?
// includes...
Hi sleipnir214,
Thanks for your quick reply.
Don't get the error nomore but updating the content is working now.
When I press the update button, the pages refreshes and content isn't changed..
any ideas ?
Let me post most of the script..
// generate and execute query
$slug='';
$content=''...
Hi,
Anyone sees why I'm getting undefine index for output ?
"Undefined index: id" in /path to/edit.php on line 57
// display initial form with values pre-filled
$submit='';
if (!$submit)
{
// open database connection
$connection = mysql_connect($host, $user, $pass) or die ("Unable to...
Hi,
I'm using the SlideMenu 2.0 made by Thomas Brattli
*Script date: 08/05/2002
This is the line from the script where some elements are given to call the proper values for the PHP script.
This PHP script creates a table with results from a match.
slideMenu.makeMenu('sub','Level...
$perc = isset($val[$race]) ? $val[$race] : "--"; //is did not compete is still giving Illegal offset type
and no scores are visible..
Columnheaders are looking great and displayed chronological !
It's getting there..
Didn't you get the zip file with data ?
Getting several errors :-(
Warning: Illegal offset type in C:\Inetpub\wwwroot\wedstrijd\2005\OKPview.php on line 69
Line 69 = if (isset($val[$race])):
And the races column is repeated many time and has this text in it:
Notice: strtotime(): Called with empty time parameter in...
Oopsie... too busy with other things..
Just returned from weekly squash evening (23.00 my time)
Primary/Foreign keys:
deelnemer.Id = PK
overzicht.deelnemerID = FK (PK field is not used)
klasse.Id = PK
wedstrijd.Id = PK which relates to overzicht.wedstrijdId
I'm running MySQL here on a...
Oke,
deelnemer is the table which holds name(first and last are seperate),adress,membershipnumber emailadress etc.
overzicht is created for displaying all scores in all matches for each 'deelnemer' (remember the previous post)
klasse holds four categories in which everyone can choose to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.