I have given check box name to $_POST.But still getting the error message
like unknown count.
please help me
User Profile
Collapse
-
-
[PHP]$_SESSION['checkboxes'][$_GET['page']] = array();
foreach( $_POST['checkboxes'] as $_key => $_val ){
$_SESSION['checkboxes'][$_GET['page']][$_key] = $_val;
} [/PHP]
what you meant by $_GET['page'] here
in my case how do i get this valueLeave a comment:
-
Thanks but i am not able to understand.
Let me publish my code(This will simply display the records from db with check boxes and pagination links)
can you help me,please
[PHP]
<?php
require "config.php "; // All database details will be included here
$page_name="eg. php"; /
if(!isset($_GET['start'])) {
$start = 0;
}
$eu = ($_GET['start']...Leave a comment:
-
You'll want to store the selected values in the _SESSION.[/QUOTE]
How can i?
is it like
$_SESSION['chkbox']=$_POST['chkname'];
will i get all the values in the session variable even if i have a pagination ?Leave a comment:
-
keeping track of selected check box and its values on all pages
I have a list of users(signed for a newsletter).I'm retrieving the list from a database when the admin clicks on a button.
There are maximum 10 users diplayed per page.For example,if I had 30 users in the database,I would have 3 pages of users(Page 1,2,3);
For each listed user ,I have a checkbox on the right side.The checkbox is for when the admin wants to selected a few people to whom send the newsletter.
Ex:
Page: 1|2|3... -
Leave a comment:
-
check this page
[PHP] do_html_header( "Logging Out");[/PHP]
i am not able to see any extensions here...Leave a comment:
-
yes you are right we can't do in php use javascript
check the below code
part1-javascript
[HTML]<script type="text/javascript">
width = screen.width;
height = screen.height;
if (width > 0 && height >0) {
window.location .href = "http://localhost/main.php?width= " + width + "&height=" + height;
} else...Leave a comment:
-
you have send the code twice But i am not able to raed it.which alnguage is this?
please help me.i am in a deep troubleLeave a comment:
-
I have send it.But the code you have given look like jung values.I am not able to read.please send me once more as a Zip file or Rar files
Thanks and Regards
ANIL...Leave a comment:
-
You should use pear spread sheet
download pear spread sheet and use the below code
[PHP]
<?php
/*
$Id: report_all.php, v 1.1 2004/08/30 16:03:40 chris Exp $
generate a spreadsheed from and addressbook in mysql database.
*/
include "dblib.php" ;
...Leave a comment:
-
Thanks
can you please give me an example how to do in javascript.I am totally new to this area and how can i do in php ?, please
Please help me...Leave a comment:
-
hi all
i need the code for 6 drop down list box using AJAX.I have done something similar to this using 3 drop downe.But values are not retaining.pleas e help me out and please show me some examples.
ThanksLeave a comment:
-
Multlanguage using HTML
Hi all
I am new to websites and its concepts.I have to implement multilanguage facility in both English and German.I am not using any server side Scripting Lnaguage.I use only HTML
I don't know how to create a multilanguage using html.I have already created the site in English.Now i want to give the German link in my site and clicking on that link,the contents of the page should be changed... -
how can we write a data to csv file(Excel) from php or from database thr php.please help me :mad:Leave a comment:
-
How to do folder security in php
can anyone please help me to find a way to do the folder/directory level permission in php?
My problem is I have stored my files in a directory.The file is an exe one.I want to restrict others, not to download the exe file directly.Can anyone help me ? :(
No activity results to display
Show More
Leave a comment: