Results page only shows partial recording



Hello everyone: I'm new to this forum and I would like to ask for help. I've searched and searched but cannot find the answer to my problem on this forum or others.

I have a problem is the following;

I have a results page that displays the complete one version a unique story. I'm pulling the story with a simple URL parameter. The Tagus PHP for the assigned field contains a statement simple nl2br and I use not all complex queries to extract data.

When I update registration update page I get no errors of any kind, but when I load the page that displays the record being updated, the value of the field in question is trucated.

I see no problem with any of the code, and I'm pretty baffled by the latter.

Here's the code for the record display

<? PHP echo nl2br ($row_rsNews ['story']); >

And this is the code for the update action

<? PHP
function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = (! get_magic_quotes_gpc())? addslashes ($TheValue): $theValue;

Switch ($theType) {}
case 'text ':
$theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
break;
case "long":
case "int":
$theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';
break;
case "double":
$theValue = ($theValue! = "")? « " ». doubleVal ($TheValue). "" "": "NULL";
break;
case "date":
$theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
break;
case "set":
$theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;
break;
}
Return $theValue;
}

$editFormAction = $_SERVER ['PHP_SELF'];
If (isset {}
$editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);
}

If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "updatenews")) {}
$updateSQL = sprintf ("news SET 'date' = %s, subtitle = %s, title = %s, history = %s, image = %s, thumb = WHERE id = %s %s",
GetSQLValueString ($_POST ['date'], 'day'),
GetSQLValueString ($_POST ["'subtitle"], "text").
GetSQLValueString ($_POST ['title'], "text").
GetSQLValueString ($_POST ['history'], "text").
GetSQLValueString ($_POST ['image'], "text").
GetSQLValueString ($_POST ['thumb'], "text").
GetSQLValueString ($_POST ['id'], "int"));

@mysql_select_db ($database_ifbdb, $ifbdb);
$Result1 = mysql_query ($updateSQL, $ifbdb) or die (mysql_error ());

$updateGoTo = "news_list.php";
If (isset {}
$updateGoTo. = (strpos ($updateGoTo, '?'))? « & » : « ? » ;
$updateGoTo. = $_SERVER ['QUERY_STRING'];
}
header (sprintf ("location: %s", $updateGoTo));
}

$colname_rsNews = "-1";
If (isset($_GET['id'])) {}
$colname_rsNews = (get_magic_quotes_gpc())? $_GET ['id']: addslashes($_GET['id']);
}
@mysql_select_db ($database_ifbdb, $ifbdb);
$query_rsNews = sprintf ("SELECT * FROM new WHERE id = %s", $colname_rsNews);
$rsNews = mysql_query ($query_rsNews, $ifbdb) or die (mysql_error ());
$row_rsNews = mysql_fetch_assoc ($rsNews);
$totalRows_rsNews = mysql_num_rows ($rsNews);
? >

I would really appreciate any help that this group has to offer.

Hi Gunther:

I'm really very embarrassed, on this subject, but I think I found the problem...

I had a look at the configuration of the table in MySQL Administrator, and he had the problem look me right in the face...

'History' field has been set to varchar (255). I have reset TEXT and everything is fine now!

Please accept my sincerest thanks for your help. Your suggestion to check if I was using a textarea is prompting me to check the datatye again. I don't know how he's changed, but I know now where to check first if it happens again.

Thaks a ton!

Tags: Dreamweaver

Similar Questions

  • Master page link to a details page displays only the first record

    Hello

    Could someone tell me please how to fix this problem:

    I have a master page that lists all users of my, and I have links next to them to take them to the specific user details. However, the links of all other records only show details for the first record.

    This is the link that is supposed to brings me to the details page:

    < a href = "patientlist2.php? Patient_id = <? PHP echo $row_rsPatients ["Patient_id"];? > "> <?" PHP echo $row_rsPatientlist ["Patient_id"];? > < / a >

    I have the same problem when you try to update the files, only the first record will appear.

    I'd appreciate any help.

    Thank you

    There is probably something wrong with your recordset. Test the query in the window of recordset for the generation of game records to ensure that you get the results desired of the recordset before placing and repeat on the page.

  • HP Officejet Pro 8500: HP Officejet Pro 8500 ceased only printing partial page in pink only

    Printer was only print a partial page of the multi page document. Replace the printer cartridges. Has run HP Diagnostics and cleaned the print heads. Still no change. For priting only a small amount of test page in pink only. Also have cartridges removed and rehabilitated. Have restarted printer several times. Please notify.

    Hello @help411911,

    The Forums of HP is a great place to find answers to the questions/problems you may have, welcome! I see that you are facing some print quality problems when you print to your HP Officejet 8500. It is printing in pink only and partial pages. You have performed the steps in troubleshooting without success.

    1. When you performed the cleaning and printed the test page, have you seen all the colors on the page or is - this only rose as well?

    2. are you able to make a black copy?

    3. When you upgraded to Windows 10 you would update the software and drivers for the 8500 JO so?

    What does the HP print and Scan doctor find? I look forward to hear from you.

    You can say thank you easily by clicking on the ' Thumbs Up ' below!

  • Purchase of a monthly package at HK$ 68 but only show web page US$ 9.9. I'm living in Hong Kong. Help, please.

    Purchase of a monthly package at HK$ 68 but only show web page US$ 9.9. I'm living in Hong Kong. Help, please.

    Ryan, please change form of currency US$ to HK$ in 'currency select' drop-down menu at the bottom of the page.

    I hope this helps.

  • Show product images on search results page

    Hello

    I am just learning Dreamweaver and BC.

    The store I want to build MUST display product pictures on the page of search results.

    I used one of the standard models ('King of the device') to move things.  Its product search results page shows just a text list of results with no thumbnails of images.

    How to change the search results page to display an image for each outcome?

    Thank you!

    Not really what he asks Dave.

    IF you have a search site, then it will find the products and other pages but not show something else then a list of these results.

    IF you use the search for the real product, then this makes the list or the backup list layout for your products and you must ensure that they have the images in this.

    If you use a template and it is a product search then you should check to see if these aren't CSS hidden etc.

  • Load the page with a selected record

    I have a PHP page that is linked to a database of mySql with 2 recordets.  The first presents a simple list of records then a link to the presentation of the details of these records in a table below.  Everything works fine but the loading of the page details table is, of course, an empty shell until the user clicks on the link url in the list which loads the record in the table.

    I'd like the page to load with a recording of the sample inside so that it looks better - preferably a record at random, but if not, the first in the list.  What is the easiest way to achieve this?

    Ah ok, so it seems that the first Recordset is filtered on a certain setting? You view several records in the first Recordset in a region of repatriation? And the second table shows the details of a single record, but there should be a folder in the first Recordset. Hmmmm.  The first thing that comes to mind, is to set a variable and fill it with the ID value of the first record since the first Recordset. Then use this variable as a default in the second set. I am not sure of is this: when you fill out the variable, it will either use the first record in the game or the Recordset returns actually several records with different values for each ID, it can raise an error.

    I don't usually use the result of a recordset to filter a second, but I did - but it was only when the first Recordset returns only a single record.

  • How to display a page only links are initialized

    Hi all.

    We develop an application using JDeveloper with Android 5.0.1 (API 21) 12.1.3.

    We use the AMPA, the list of projects to a REST Service and persist locally (in order to work in offline mode).

    We have a feature, implemented as a workflow of the MAF. Inside of the flow of the task, we have an AMX page, which shows the details of the first element of a collection of projects (we can change the selection of the projects of the springboard).

    The problem is that we cannot get the first draft of the list, when the service is rendered first.

    We tried the following approaches:

    1. drag and drop the attribute of the data control as an OutputTest inside the amx page. The value of the output text is empty.

    2. get the value of the OutputText of a managed bean. Inside of the managed bean, we try to assess the EL expression for the attributeBinding.

    3. get the first project within a method call on the taskflow. The steps to achieve this are:

    -Add a method call on the taskflow and set it as entry point.

    -A reference to a bean pageFlowScope method

    -Create a page of def for the method call, where we added the iterator for an attributeBinding and projects (for example: projectName).

    -Inside the pageFlowScope bean java method, we tried:

    -get the ProjectName, by evaluating the Expression Language: AdfmfJavaUtilities.evaluateELExpression("#{bindings.projectName.inputValue}"). This return is null.

    -get the iterator and retrieves the first line. The iterator is empty and there was no line.

    4. We also tried drag and drop the 'first' operation of the project collection of data as a method control give the floor to the taskflow and then repeat the steps from point 3.

    When you use the debugger, we noticed that if we have a breakpoint in our java code, we can get a decent result with some of the approaches above. This lead us to the conclusion that somehow, the page is rendered before the data control is to fill.

    Do you know if there is a way to get the information for a project, the first time the feature is made? The data control is completed after the amx page is rendered?

    Please let me know if there are any details that I forgot to mention.

    Thank you.

    OK, let me explain what happens: by default, AMPA retrieves the data in the background. When data recovery is complete, it refreshes the user interface using getProviderChangeSupport () .fireProviderRefresh ("listName").

    Unfortunately, this discount only works if a list is displayed in the user interface, with a form of layout as you use data is not refreshed. The only way to refresh with formatting is to refresh the iterator binding. It's a little embarrassing because service class should be ignorant of the link layer. So, to solve this problem, you have two options:

    n ' is more to read data in the background by setting the attribute remoteReadInBackground = "false" in the persistence - mapping.xml. This will block the user interface until the data is retrieved

    -override the refreshEntityList method and add code to upgrade your iterator binding. For examnple, if your binder iterator is called projectIterator, you can add the following code to your ProjectService class:

    @Override

    protected void refreshEntityList ( oldEntityList from the list)

    {

    super.refreshEntityList (oldEntityList);

    Ib = AmxIteratorBinding

    (AmxIteratorBinding) AdfmfJavaUtilities.evaluateELExpression("#{bindings.projectIterator}");

    If (ib! = null)

    {

    Object rowKey = ib.getIterator () .getCurrentRowKey ();

    IB. Refresh();

    If (rowKey! = null)

    {

    ib.getIterator () .setCurrentIndexWithKey (rowKey);

    }

    }

    }

    In the next version of the AMPA, we will include this fix despite the fact that we do not like to access the iterator binding here. But as you probably agree, this is better than the current behavior of confusion.

    Steven Davelaar,

    Oracle Mobile A-team.

  • When I try to print from captivate it can be using the print or print from the browser menu widget it only shows half a screen

    When I try to print from captivate it can be using the print or print from the browser menu widget it only shows half a screen

    I use 7 Captivate. I need the user to be able to print the results. The certificates are not an option. They are too limited. When not published in HTML 5, I have a print widget. He wants only half of a print screen. If I publish to HTML 5, I can then the file menu of the browser user to print. However, she still shows only a mosquito net. How can I fix this.

    They must be able to print the results page. I've included a sample using the login screen. Below you can see what I see on the screen of the printer browser

    half screen.PNG

    This is what it must have printed.

    full screen.PNG

    What is the cause? Can anyone help?

    It ends up being a problem for chrome browser after all. Easy correction. Use Internet Explorer. This works well for us. Our intranet uses Internet Explorer by default.

  • Result of the search page is incorrect, the results page is empty

    Hello

    I'm designing a website for my job. IAM not very familiar with coding and don't know exactly, what is lacking in the code.

    The search page filter search criteria and clicking the button submit, redirects to the page of result which should display only the rows that contain the search criteria. However, it is the empty display in the result page with only the names of columns in the table (in the Recordset)

    The code of the search page is:

    <? php require_once('Connections/connect.php');? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $colname_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $colname_Recordset1 = $_GET ['class'];

    }

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $colname_Recordset1 = "-1";

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $totalRows_Recordset1 = $_GET ['class'];

    }

    $colname_Recordset1 = "-1";

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $totalRows_Recordset1 = $_GET ['class'];

    }

    $colname_Recordset1 = "-1";

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = "SELECT * FROM time_table";

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $totalRows_Recordset1 = $_GET ['class'];

    }

    $colname_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $colname_Recordset1 = $_GET ['class'];

    }

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = mysql_num_rows ($Recordset1); $colname_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $colname_Recordset1 = $_GET ['class'];

    }

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = mysql_num_rows ($Recordset1);

    $query_Recordset1 = "SELECT distinct 'class' OF time_table ';

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    ? >

    <? PHP

    Validate request to connect to this site.

    If (! isset {})

    session_start();

    }

    $loginFormAction = $_SERVER ['PHP_SELF'];

    If (isset($_GET['accesscheck'])) {}

    $_SESSION ['PrevUrl'] = $_GET ['accesscheck"];

    }

    If (isset($_POST['Rid'])) {}

    $loginUsername = $_POST ['Rid'];

    $password = $_POST ["textfield"];

    $MM_fldUserAuthorization = "";

    $MM_redirectLoginSuccess = "index_1 - Copy.php";

    $MM_redirectLoginFailed = "login_2.php";

    $MM_redirecttoReferrer = false;

    @mysql_select_db ($database_connect, $connect);

    $LoginRS__query = sprintf ("SELECT reg_no, password FROM login_table WHERE reg_no = %s AND password is %s",

    GetSQLValueString ($loginUsername, "int"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $connect) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    If (isset($_SESSION['PrevUrl']) & & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    }

    ? >

    <! doctype html >

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > CALENDAR < /title >

    < link rel = "stylesheet" href = "styles.css" type = "text/css" / > "

    < / head >

    < body onsubmit = "registerEvents()" >

    < name of the form = "form1" method = "POST" action = "<?" PHP echo $loginFormAction;? > ">"

    < / make >

    "< img class ="header image"src ="images/logowhite.jpg"style =" float: left "/ >

    < header >

    < h1 > < a href = "/" > CHRIST PRE-UNIVERSITY < span > E-SCHOOL </span > < /a > < / h1 >

    EXCELLENCE IS ALL THAT ISSUES of < h2 > < / h2 >

    < / header >

    < div id = "body" >

    < name of the form = "form2" method = "get" action = "time.php" >

    < p align = "center" >

    < strong >

    < label for 'Rid' = >

    < br >

    < / label >

    < label for = "Rid" > < br >

    < / label >

    < label for "sid" = > class < / label >

    < select name = "sid" id = "sid" >

    <? PHP

    {}

    ? >

    < option value = "<?" PHP echo $row_Recordset1 ['Class']? > "<?" PHP if (!) () strcmp ($row_Recordset1 ['Class'], ucwords ($row_Recordset1 ['Class']))) {echo "selected = \"selected\"" ;}? "} > > <? PHP echo $row_Recordset1 ['Class']? > < / option >

    <? PHP

    } While ($row_Recordset1 = mysql_fetch_assoc ($Recordset1));

    $rows = mysql_num_rows ($Recordset1);

    If ($rows > 0) {}

    mysql_data_seek ($Recordset1, 0);

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    }

    ? >

    < / select >

    < label for = "Rid" > < br >

    < / label >

    < facilities > < / p >

    < p align = "center" >

    < input name = "Submit" type = 'submit' class = "formbutton" id = "Submit" value = "Submit" >

    < /p >

    < / make >

    < id article 'content' = >

    < item > < / item >

    < / section >

    < / div >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($Recordset1);

    ? >

    The result page code is:

    <? php require_once('Connections/connect.php');? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    } If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $maxRows_Recordset1 = 10;

    $pageNum_Recordset1 = 0;

    If (isset($_GET['pageNum_Recordset1'])) {}

    $pageNum_Recordset1 = $_GET ['pageNum_Recordset1'];

    }

    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;

    $colname_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $colname_Recordset1 = $_GET ['class'];

    }

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $query_limit_Recordset1 = sprintf ("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);

    $Recordset1 = mysql_query ($query_limit_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    If (isset($_GET['totalRows_Recordset1'])) {}

    $totalRows_Recordset1 = $_GET ['totalRows_Recordset1'];

    } else {}

    $all_Recordset1 = mysql_query ($query_Recordset1);

    $totalRows_Recordset1 = mysql_num_rows ($all_Recordset1);

    }

    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;

    $colname_Recordset1 = "-1";

    If (isset($_GET['Class'])) {}

    $colname_Recordset1 = $_GET ['class'];

    }

    @mysql_select_db ($database_connect, $connect);

    $query_Recordset1 = sprintf ("SELECT * FROM time_table WHERE"Class"= %s", GetSQLValueString ($colname_Recordset1, "text") ");

    $Recordset1 = mysql_query ($query_Recordset1, $connect) or die (mysql_error ());

    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    $totalRows_Recordset1 = mysql_num_rows ($Recordset1);

    ? >

    <! doctype html >

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > < /title > CLASS TIMES TABLE

    < link rel = "stylesheet" href = "styles.css" type = "text/css" / > "

    < / head >

    < body bgcolor = "#CCFF99" >

    < div >

    "< img src =" images/logowhite.jpg"width ="274"height ="103"class ="header image"style =" float: left "/ >

    < / div >

    < header >

    < h1 align = "left" > < a href = "/" > SCHOOL CALENDAR for < span > THE CLASS </span > < /a > < / h1 >

    < / header >

    < / div >

    < div align = "center" >

    < / div >

    < p align = "center" > < / p >

    < p align = "center" > < / p >

    < div align = "center" >

    < p align = "center" > < / p >

    < table border = "5" cellpadding = "15" cellspacing = "15" >

    < b >

    Class < td > < table >

    Day < td > < table >

    < td > 1 < table >

    < td > 2nd < table >

    < td > 3 < table >

    < td > 4th < table >

    < td > room no < table >

    < /tr >

    <? PHP {? >}

    < b >

    < td > <? PHP echo $row_Recordset1 ['Class'];? > < table >

    < td > <? PHP echo $row_Recordset1 ['day'];? > < table >

    < td > <? PHP echo $row_Recordset1 ["1"];? > < table >

    < td > <? PHP echo $row_Recordset1 ['2nd'];? > < table >

    < td > <? PHP echo $row_Recordset1 ['3'];? > < table >

    < td > <? PHP echo $row_Recordset1 ['4'];? > < table >

    < td > <? PHP echo $row_Recordset1 ['No room'];? > < table >

    < /tr >

    <? PHP} while ($row_Recordset1 = mysql_fetch_assoc ($Recordset1));? >

    < /table >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($Recordset1);

    ? >

    Please help me.

    Thank you

    Change your name input field of the form ClassName (without space)

    In the results.php also page change ClassName

    If (isset($_GET['ClassName'])) {}

    $colname_Recordset1 = $_GET ['ClassName'];

    Does make a difference in what concerns if the results show or not?

  • Add a click box to the quiz results page

    I do a simple questionnaire, without entering into an LMS System.

    On the results page, I'd like to be able to show users their scores, then be able to give them recommendations on training based on this score.

    Something like, your score is between 0 and 20, please fill out this training.   I would like this training be a link to another site on the intranet, but I need to put a box click on the text to simulate a hyperlink.  The click box option is grayed out on the quiz results page, is there another way, a widget or something that could help me?

    Thank you

    EA

    Hello

    It is not possible to any interactive object on the slide to Score, even to the question slides.

    You can emulate this slide of score by creating your own score slide, most of the numbers provided are available as system variables. Such a slide, you will be able to use a click box.

    There is a widget with Captivate (buttons) you can use because it's a static widget. But he wil give you access to another slide, not to display a text caption or run a tip action. But you can open a URL. I blogged about the use of this button in this post:

    Using the button widget

    Latest idea: couldn't you just provide a legend of reversal, because it is possible to insert only.

    Lilybiri

  • ASP results page fails after upgrading to DW 8.02

    It comes to DW 8.02, SQL server, ASP (not dot.net).

    I have a search function which selects one of the 5 queries with the text entered by the user and the column names. The old page of results works fine until I have replace the code in the recordset with the new parameter based in 8.02 recordsets.

    My search form uses GET and calls the results to variables selColumn and txSearch page.

    Both old and new results pages have this code to dimension the form variables:

    < %
    Dim rslocate__reqColumn
    rslocate__reqColumn = 'SOCIETY '.
    If (Request.QueryString ("selColumn") <>"") then
    rslocate__reqColumn = Request.QueryString ("selColumn")
    End If
    % >
    < %
    Dim rslocate__reqSearch
    rslocate__reqSearch = 'test '.
    If (Request.QueryString ("txSearch") <>"") then
    rslocate__reqSearch = Request.QueryString ("txSearch")
    End If
    % >

    I also tried Request.Form without success. The data in SQL server type is of type nvarchar for all data.

    On the page resultats.asp is the old record set that still works:

    < %
    Dim rslocate
    Dim rslocate_numRows

    Set rslocate = Server.CreateObject ("ADODB. Recordset')
    rslocate. ActiveConnection = MM_members_STRING
    rslocate. Source = "SELECT * FROM ncmortgage.members WHERE"+ replace (rslocate__reqColumn,"'","" ") +" LIKE '% ' + replace (rslocate__reqSearch,"'","" "") + "%' ORDER BY UserID CSA»
    rslocate. CursorType = 0
    rslocate. CursorLocation = 2
    rslocate. LockType = 1
    rslocate. Open()

    rslocate_numRows = 0
    % >


    On the new resultats.asp 8.02 page shows no errors, but returns no data on the code is:

    < %
    Dim rslocate
    Dim rslocate_cmd
    Dim rslocate_numRows

    Set rslocate_cmd = Server.CreateObject ("ADODB.Command")
    rslocate_cmd. ActiveConnection = MM_members_STRING
    rslocate_cmd.CommandText = "SELECT * FROM ncmortgage.members WHERE? AS? ORDER BY ID ASC user"
    rslocate_cmd. Prepared = true
    rslocate_cmd. Parameters.Append rslocate_cmd. CreateParameter ("param1", 200, 1, 10, rslocate__reqColumn) ' adVarChar
    rslocate_cmd. Parameters.Append rslocate_cmd. CreateParameter ("param2", 200, 1, 35, '%' + rslocate__reqSearch + '%') ' adVarChar

    Set rslocate = rslocate_cmd. Run
    rslocate_numRows = 0
    % >

    I tried everything in the last two days to make it work. All the other functions that I converted work properly in 8.02, but it escapes me. Any help is sincerely appreciated.

    TKS,
    The H.

    > It comes to DW 8.02, SQL server, ASP (not dot.net).
    >
    > I have a search function which selects one of the 5 column names and queries
    > with
    > text of the entry by the user. The old results page works fine until I have replace the
    > code of recordset with the new parameter based recordsets in 8.02.

    Of
    http://www.Adobe.com/support/documentation/en/Dreamweaver/DW8/releasenotes.html:
    SQL injections in web applications
    The update updates server code generated by Dreamweaver to protect
    databases against the SQL Injection.

    Here is the workaround:
    http://KB.Adobe.com/selfservice/viewContent.do?externalId=kb402875&sliceId=2

  • Google search, close the tab back to results page, he left Firefox

    When you use Internet Explorer, I do a Google search, select a result and the selection opens in a new tab. I close this selection and it goes back to the Google results page, so I can choose another result. Or, I can leave this open selection, click on the results tab and have several selections open simultaneously, each on its own tab.

    With Firefox, when I close the selection, he leaves Firefox. I have to reload Firefox and do a new search over and over again. He warns that I close the 2 tabs but there is only one.

    I jumped the last sentence. You can have several groups of tabs. You can press Ctrl + Shift + e to display the groups of tabs in the current window and consolidate the tabs that have been separated. However, normally, you don't expect a tab to open in a separate group on its own...

  • When I opened a second tab in Firefox, it won't go to my homepage. Instead, it goes to a page that shows what looks like a collection of pages (or links) t

    When I opened a second tab in Firefox, it won't go to my homepage. Instead, it goes to a page that shows what looks like a collection of pages (or links) that I visited in the recent past or distant. I rather go to my homepage, which is much more useful for me. I tried to change that in 'Options', but without success. Please fix this.

    1. Type of topic: config in the address bar and press ENTER.
    2. Press the big button to ignore the warning.
    3. In the search bar, paste browser.newtab.url
    4. In the search results, double-click browser.newtab.url and set its value to any desired URL. If you want the Firefox home page by default, you would set the value to Subject: Home
  • Firefox does not open with the tabs I had open when I use the renunciation and backup function. Firefox opens on my home page only. How to fix?

    When I use the function "Save and exit" has no effect. The next time I open Firefox it goes to my home page only.

    This has happened

    Each time Firefox opened

    Is 3 days ago

    If you use delete navigation, search and download history on Firefox in Firefox 3.5/6, or clear private data in Firefox 3 to clear the browsing history when Firefox is closed then in restaurant tabs at the last session (for example "save and exit" or "show my windows and tabs from last time ') does not work.

  • Inserted new HP cartridges but the 'Supply levels' tab only shows 50% full?

    I use the series HP Deskjet 1050 J410.  I nserted the new HP cartridges however "Levels of power" tab only shows 50% full in the user interface.  The only reason thati I checked it's so short time because I printed a few pages only black and white, and the setting icon with the "!" pop up. These cartridges are defective?

    Hi lalagirl

    Try to reset the printer...

    1. Press the power button ( ) to activate the product.

Maybe you are looking for

  • Is Portege Z830 evolutionary (PT224V) of windows 8?

    Hello I've looked everywhere in the Toshiba site to find if my laptop is upgradeable or not I looked on this page http://www.toshibamea.com/Windows8Compatibility.aspx?PageID=2895 but he said nothing on my laptop. Also, I live in the Middle East and i

  • Monitor flicker - on certain colors.

    CAN SOMEONE PLEASE HELP FIX MY MONITOR. DARK COLOURS ARE OK BUT ALL THE OTHER COLORS FUZZY AND FLICKERING IN PINK DON'T KNOW WHAT SE PAST ALREADY HAPPENED LOOKING AT THIS SCREEN NOW BLACK, GREEN SETTOP BOX, JOIN CONVERSATION IS OK BUT THE BOX, I TAPE

  • HP Pavilion 14-v062us: 14-v062us Pavilion market reset password

    I'm trying to update an old laptop (Pavilion 14-v062us) for a local company.  Unfortunately, the employee who used the system already set up a password turning on and not left no notes on the password. is it possible to reset this password? Thanks in

  • file format i8

    I'm not a user of Labview so apologies if this isn't in the right place. I'm reading some data which I believe, were generated by one OR (assume that labview) sampling rate application that runs a set of four Picoscopes in parallel in a 4 M samples/s

  • How to 'Disable' or 'Close' or 'Remove' the system idle process?

    I saw this topic but, I don't see "how to remove, deactivate or close" that. PERMANENTLY! Please tell me, how? This process using my CPU % 70-99 every time. Please don't tell me ' scan your pc of spyware, malware, etc.. ". Yes, I did. And formatted a