Sunday, July 31, 2011

Search Function in PHP Excel Reader - Error

im using this php reader to retrieving data from xls sheet and its
works well the xls sheet having 150 records. its limited to 20 records
per page to show on result page .there is a search box and button to
search some specific data , the search parameter giving the result
from first page result only. i can't get result from full excel sheet.

What is the expected output? What do you see instead?

i need the reader to search whole xls sheet and give me result, but
this one giving me from first 20 records only.

Please provide any additional information below.
i dont understan whats wrong here, y can't search full records on xls
sheet. im expecting some ones help to solve my problem. plz see the
attach file below for code
thnxx..

$searchparameter=$_GET['searchparameter'];
$startno=7;

$totalrow=$data->rowcount($sheet_index=0);
$rows=$i;
if ($_GET['page']!="")
$page=$_GET['page'];

else
$page=1;
echo 'TABLE

-------------------------------------
$count=0;
$recordno=1;


for($i=0;$i<$totalrow-6;$i++)
{
//echo "<br/> searchparameter = ". $searchparameter ." data2 ".
$data2 ;
if((($page-1)*$rows)<=$i && $i<($page*$rows))
{
//$data1=$data->val($startno+$i,1);
$data2=$data->val($startno+$i,2);
$data3=$data->val($startno+$i,3);
$data4=$data->val($startno+$i,6);


if((stristr($data2,$searchparameter) ||
stristr($data3,$searchparameter)|| stristr($data4,$searchparameter))||
$searchparameter=="")
{
echo 'TABLE


------------------------

}
$recordno=$recordno+1;

if($searchparameter=="")
$count=$totalrow;
$totalpage=$count/$rows;
$totalpage=ceil($totalpage);
for($i=1;$i<=$totalpage;$i++)
{
if ($i == $page)

echo $i;

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

[php-gurus] Oppurtunity for Senior Design Engineer At STMicroelectronics - Latest Jobs

 

VYOMS


 
Click here to join OneStopCCPP


 
Resume Submitter | Experienced Jobs | Government Jobs | Walk-ins | Exam Notifications | News
 Latest Fresher Jobs

Oppurtunity for Programmer Trainee at Module
http://www.vyoms.com/jobs/details/oppurtunity-for-programmer-trainee-at-module-22556.asp
 

Oppurtunity for Programmer Trainee
http://www.vyoms.com/jobs/details/oppurtunity-for-programmer-trainee-22556.asp
 

Requirement for Trainee Programmer At Sysbiz
http://www.vyoms.com/jobs/details/requirement-for-trainee-programmer-at-sysbiz-22555.asp
 

Faculty for BE/BTech/BSc At Sofcon
http://www.vyoms.com/jobs/details/faculty-for-be-btech-bsc-at-sofcon-22554.asp
 

Openings for Trainee Engineer At CMC
http://www.vyoms.com/jobs/details/openings-for-trainee-engineer-at-cmc-22552.asp
 

Requitrmrnt for Intern Technical At Intel
http://www.vyoms.com/jobs/details/requitrmrnt-for-intern-technical-at-intel-22551.asp
 

Oppurtunity for Scientist At Syngene
http://www.vyoms.com/jobs/details/oppurtunity-for-scientist-at-syngene-22550.asp

 Latest Experienced Jobs

Senior Software Engineer Required At Cisco
http://www.vyoms.com/jobs/details/senior-software-engineer-required-at-cisco-22563.asp
 

Required Linux Device Drivers At Samsung
http://www.vyoms.com/jobs/details/required-linux-device-drivers-at-samsung-22562.asp
 

Oppurtunity for Senior Design Engineer At STMicroelectronics
http://www.vyoms.com/jobs/details/oppurtunity-for-senior-design-engineer-at-stmicroe-22561.asp
 

Linux Presales Consultant Required At Oracle
http://www.vyoms.com/jobs/details/linux-presales-consultant-required-at-oracle-22560.asp
 

Openings for Lead MySQL DBA At IP Soft
http://www.vyoms.com/jobs/details/openings-for-lead-mysql-dba-at-ip-soft-22559.asp
 

Requirement for Onsite Java Assignment At L&T
http://www.vyoms.com/jobs/details/requirement-for-onsite-java-assignment-at-l-t-22557.asp
 

Required Senior Member Technical Java At ADP
http://www.vyoms.com/jobs/details/required-senior-member-technical-java-at-adp-22558.asp

__._,_.___
Recent Activity:
.

__,_._,___

Re: newbie question about databases

Thanks, Simon! That did the trick!

- Mike

On Jul 31, 3:46 pm, Simon Males <s...@sime.net.au> wrote:
> On Mon, Aug 1, 2011 at 5:25 AM, dewolfe001 <mikedewo...@gmail.com> wrote:
> > Is there a way that I can generate app/config/schema PHP files from
> > the SQL or MySQL database tables? I tried "cake schema generate node"
> > from the console (node being the name of the table I wanted to pick
> > up). But that just gives me the "blogs" table that ships as an example
> > in CakePHP.
>
> The following command will dump the whole schema by looking at the DB,
> rather then the models.
>
> cake schema generate -f
>
> --
> Simon Males

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

[web-programming] LOWONGAN IT = PHP Programmer

 

Moderator, Mohon ijin. Semoga berguna untuk teman-teman, Terima kasih.
 
PHP Programmer
 
Kualifikasi :
 
-    Lulusan S1 ( MI / TI / Telco ).
-    Pengalaman PHP min 4 tahun.
-    Menguasai Server Side Programming: PHP, web programming
-    Mengerti Apache, MS SQL, ADODB
-    Menguasai CSS dan JavaScript/VB Script
-    Mengerti database MySQL/MS SQLServer
-
             Lebih di sukai mengerti Java programming
-    Dapat mengelola dan bekerjasama dengan Team dan melakukan  analisa system
-    Mempunyai motivasi tinggi, proaktif.
-    Kirim portofolio yang sudah di buat & pernah membuat system/aplikasi.
-    Memiliki kepribadian yang baik


- Kirim CV dan dokumen pendukung ( Fotocopy sertifikat/transkrip, pasphoto terbaru)
- Cantumkan gaji yang di inginkan.
 
Kirim ke :  info@arthapati.com, arthaworld@gmail.com, arthaworld@yahoo.com

__._,_.___
Recent Activity:
PUSAT PELATIHAN KOMPUTER DI JAKARTA
http://www.topworkers.com
Tlp. 021-93227134, 021-68770095 Hp. 0818.865427 (No SMS)
.

__,_._,___

[web-programming] LOWONGAN IT = JAVA DEVELOPER

 

Detail Qualification:
 
·         S1 Information Technology
·         Male/Female, age max 30 years.
·         Mempunyai Pengalaman 3 tahun dalam Java programming.
·         Familiar menggunakan database Oracle, SQLserver, MySQL
·         Mengerti dan bisa mobile programming dengan J2ME.
·         Lebih di sukai memiliki pengetahuan yang baik mengenai pengembangan mobile application di Android.
·         Pernah membuat mobile application dan mampu menunjukkan hasil aplikasi yang dibuat.
·         Memiliki pengetahuan yang baik tentang RDBMS.
 
Kualifikasi Umum :
- Baik dalam skill Algoritma.
- Suka menyelesaikan masalah aplikasi sendiri atau bersama tim
- Baik dalam inisiatif, proaktif, baik dalam menerangkan aplikasi kepada user.
- Mempunyai motivasi tinggi, Cepat belajar hal yang baru. 

Note :
- Status : Kontrak
- Penempatan : Jakarta – Indonesia

Bagi yang berminat dan sesuai kualifikasi di atas, Segera kirim Aplikasi Lamaran dan CV Lengkap
(Sertifikat, Pasphoto terbaru, dokumen pendukung lainnya) cantumkan salary yang di inginkan
Tulis kode posisi pada subject dan kirim ke :

HRD PT ARTHAPATI NUSANTARA
email : info@arthapati.com; arthaworld@gmail.com; arthaworld@yahoo.com

__._,_.___
Recent Activity:
PUSAT PELATIHAN KOMPUTER DI JAKARTA
http://www.topworkers.com
Tlp. 021-93227134, 021-68770095 Hp. 0818.865427 (No SMS)
.

__,_._,___

[web-programming] LOWONGAN IT = IT QA & IT HELPDESK

 

Moderator, Mohon Ijin Iklan. Semoga bisa berguna untuk temen-temen.

Dibutuhkan Segera :


IT
QA & IT HELP DESK

Detail Kualifikasi :

- Lulusan D3/S1 Jurusan IT/MIS/TK
- Pengalaman min 1 tahun di bidang IT QA & Helpdesk
- Wanita/Pria, max 25 tahun.
- Mengerti microsoft windows, Ms. Office, Powerpoint
- Mengerti database Oracle, MySQL, SQLServer, dan menguasai script SQL.

Kualifikasi Umum :
- Baik dalam skill Algoritma.
- Suka menyelesaikan masalah aplikasi sendiri atau bersama tim
- Baik dalam inisiatif, proaktif, baik dalam menerangkan aplikasi kepada user.
- Mempunyai motivasi tinggi, Cepat belajar hal yang baru. 

Note :
- Status : Kontrak
- Penempatan : Jakarta – Indonesia

Bagi yang berminat dan sesuai kualifikasi di atas, Segera kirim Aplikasi Lamaran dan CV Lengkap
(Sertifikat, Pasphoto terbaru, dokumen pendukung lainnya) cantumkan salary yang di inginkan
Tulis kode posisi pada subject dan kirim ke :

HRD PT ARTHAPATI NUSANTARA
email : info@arthapati.com; arthaworld@gmail.com; arthaworld@yahoo.com

__._,_.___
Recent Activity:
PUSAT PELATIHAN KOMPUTER DI JAKARTA
http://www.topworkers.com
Tlp. 021-93227134, 021-68770095 Hp. 0818.865427 (No SMS)
.

__,_._,___

[web-programming] LOWONGAN IT = ORACLE DEVELOPER

 

Arthapati is currently inviting potential candidates who feel passionate and are highly
desired in growing with our company through contributing your skills and experiences in these following challenging positions:

5 Oracle Developer (Middle, Expert)
Detail Qualification :
- Experience with Oracle Developer 10G
- Max age : 30 years old
- Experience min.
2 years: Report, form, tuning, documentation, etc
- Experience with SQL, PL/SQL Programming & Dev.

General Qualification :
- Good ALGORITHM skills (for IT Position)
- Good interpersonal skills, good initiative, proactive, and willing to help users
- Highly motivated and able to work in a team or independently and systematically
- Hardworking and able to complete tasks in tight deadline
- Applicant must be willing to work in Jakarta

Note :

- Placement : Jakarta – Indonesia

Should you meet the above requirement, please send your application letter and complete CV
(certified, current photograph, including expected salary, and other document), and write down the position code as an email subject to:

HRD PT ARTHAPATI NUSANTARA

email :
info@arthapati.com; arthaworld@gmail.com; arthaworld@yahoo.com

__._,_.___
Recent Activity:
PUSAT PELATIHAN KOMPUTER DI JAKARTA
http://www.topworkers.com
Tlp. 021-93227134, 021-68770095 Hp. 0818.865427 (No SMS)
.

__,_._,___

[OneStopPHP] Have you booked your Free Gift?

 
__,_._,___

[php-lords] Decoupage Tutorial

 
__,_._,___

[php-gurus] Crossstitch Tutorial

 
__,_._,___

Re: newbie question about weird legacy database schema

This link should give you all the information you need:

http://book.cakephp.org/#!/view/1039/Associations-Linking-Models-Together

On Jul 31, 5:08 pm, ubiquitous_tom <ubiquitous....@gmail.com> wrote:
> here's the current schema of my database
>
> /* First, create our thread table: */
> CREATE TABLE thread (
>     id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
>     dat_id INT,
>     title VARCHAR(50),
>     body TEXT,
>     created DATETIME DEFAULT NULL,
>     modified DATETIME DEFAULT NULL
> );
>
> CREATE TABLE dat_001 (
>     id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
>     thread_id INT,
>     title VARCHAR(50),
>     body TEXT,
>     created DATETIME DEFAULT NULL,
>     modified DATETIME DEFAULT NULL
> );
>
> CREATE TABLE dat_002 (
>     id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
>     thread_id INT,
>     title VARCHAR(50),
>     body TEXT,
>     created DATETIME DEFAULT NULL,
>     modified DATETIME DEFAULT NULL
> );
>
> and so on
>
> I know that this is not exactly how the cakephp database would be but
> i am a newbie at this and i would like to know
> how do i code this kinda relationship on cakephp. how do I do 1 to
> many relationship in cakephp.
> I know i can do this in codeigniter and that's what i used to use but
> I have to start workin on cakephp and i have found it to be quite good
> but run into this kinda problem
> so if anyone can help guide me toward to right way of doing this
> please let me know.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php