I am using php version 4.3.3.
The below was my pagination code.
My problem is that when i run this code in my computer, i wall fail because of the hyperlink of the pagination not function when i click it. But when i run in other people computer, It was no problem at all. I wonder to know what wrong to my coding . Is it different version of php also reflect the output?
[php]
<?
//required file for...
User Profile
Collapse
-
Problem in hyperlink of pagination.
-
According to the webpage u give me last time, i had write acode abut the pagination. But now i have the problem at this line
"while(list($Na meItem) = mysql_fetch_arr ay($result2)) { "
If i want to put all the selected field instead of only NameItem as what i had i done in the query, how should i do?
<?
//required file for database connection
require("config .php");... -
thanks your help. I know what should i do from the answer you give me . Thank you very much....Leave a comment:
-
[SOLVED] how to change the hyperlink to a button.
this is the delete hyperlink that i had create. But i want to change it to a delete button. how can i make it?
<a href='delete_ac .php?id={$rows['ID']}'>delete</a> -
how to limint the number of result that occur in one page?
i have create a search engin for searching a database. Then i want to limit the result that appear in one page. Let say 10 result in one page. How can i do it with php? -
my error is what ever the keyword i insert into ,it still come out with the same result even i option in field is different . The selection there seen ike did not function alt all. can u check for me?...Leave a comment:
-
how to write the query if there is a blank in a certain row?
this is the query i had make. i write ' Operasi is NOTNULL ' because the row is blank is it right?
$sql="SELECT ID,NamaPeralata n,Jenama,Operas i FROM listofitem WHERE NamaPeralatan LIKE '%$search%'AND Operasi is NOTNULL"; -
how to combine 2 query into one?
I had 2 table here to select and i want to make it into one query, how can i make it?
$sql = mysql_query("SE LECT *FROM listofitem WHERE ID='$id'");
$sql1=mysql_que ry("SELECT *FROM iteminformation WHERE ID='$id'"); -
Can help to check and correct my search engine code?
This is the search engine code that i create, but it was error and didnt come out the result. Cn u help me to check what wrong with my code?
Thanks
<Table cellspacing=1 cellPadding=1 align=center>
<td colspan=4>
<h2 align=center>Bo mba inventory searching system</h2>
<tr>
<td>
<h4 Balai Bomba Inventory Searching System</H4>
<form name="search"... -
oh i see. i juz tought that it can be done by using PHP, so if i want to do the prompt up message how can i do? Another queastion is tat how can i do for the query if i want to insert data in a form, but this form was include two table information?...Leave a comment:
-
how to create a prompt up message to confirmation of submit the form
i would like to create a prompt up messsage in when submit a form, how to make it? -
In the code that i had submit, i dont understand how to declare it , can u help me or give me an example? Thanks you...Leave a comment:
-
i dont understand the undefind index error in my code.can check for me?
This is the code the code that i try to run it as my search engine for my database. But i dont understand why i run a notice that undefind index. Can u help me ?
<form method="post" action="search. php">
<input type="text" name="search" size=25 maxlength=25>
<input type="Submit" name="Submit" value="Submit">
</form>... -
So sorry to make u diffucult.
Now i already understand what did u mean in the above code. But it seen like not suitable with what i want to create. So now i have another idea is that create a form that can edit by user corresponding to the ID andinformation that display as the code below
if (isset($_GET['id'])) {
$id = strip_tags($_GE T['id']);
//required file for database connection
require("config .php");...Leave a comment:
-
i am really want to help myself.but i really cant understand wat u mean. I had replace the column i want to change but the error occur saying that
Notice: Undefined index: PHASE in C:\server\Apach e2\htdocs\New1. php on line 45
i dont understand why .
I replace like below.please forgive me because i cannot get what u had teach me.
if (isset($_REQUES T['PHASE'])) {
if ($_REQUEST['PHASE']...Leave a comment:
-
ok. let say i want to edit the table of iteminformation column of Quantity.Is it imposiblle to change data in two table?...Leave a comment:
-
This is the code and table column i use. When use click to EDIT then will edit the one row of information display. Hope that u can teach me how to do it
<?php
// check if id is passed to this routine
if (isset($_GET['id'])) {
// if yes: remove harmful tags and save the passed id in variable $id
$id = strip_tags($_GE T['id']);
//required file for database connection
require("config .php");...Leave a comment:
-
I am very sorry that i still not well understand the code you had submit.
I didn't inderstant about
if (isset($_REQUES T['PHASE'])) {
Is it means i have to put the ID that i want to edit into the PHASE make it become if (isset($_REQUES T['$ID'])) ?...Leave a comment:
-
how to create dynamically edit table entries
i wish to know how to create a dinamically edit table entries .can u help me ?thanks. -
yes.i oly want to edit one row of a table. How to make it?...Leave a comment:
No activity results to display
Show More
Leave a comment: