Search found 152 matches

by planketa
Wed Sep 26, 2007 10:26 pm
Forum: PHP General
Topic: I am a cakephp newbie
Replies: 0
Views: 825

I am a cakephp newbie

Guys I am studying cakephp, and i must say, I'm not yet a master in php and I have to learn a framework of it. Do have some suggestions on what I should know first before I study cakephp? I read the cakephp manual and it's not idiot friendly. I have to learn cake because I will support and do some d...
by planketa
Mon Sep 24, 2007 12:43 am
Forum: PHP coding => General
Topic: Security Page
Replies: 2
Views: 1115

you must have a table for your users, then define each user as admin, user, and so. then on your login page you must check each user's rights and pass them on a session. these session will then be carried on every page.
by planketa
Mon Sep 24, 2007 12:40 am
Forum: PHP coding => General
Topic: User Online
Replies: 3
Views: 1283

you must first have a login page which will also require a registration page. after a successfull login, you can pass the user's info into a table for logs.
by planketa
Sun Aug 19, 2007 2:15 am
Forum: PHP coding => General
Topic: Putting URL to site on my page
Replies: 1
Views: 952

yeah, please, explain clearer.
by planketa
Sun Aug 19, 2007 2:14 am
Forum: PHP coding => General
Topic: 301 Redirect With PHP
Replies: 2
Views: 1148

i think you can try placing it on the index page
by planketa
Tue Apr 10, 2007 7:09 pm
Forum: mySQL & php coding
Topic: Check if value exist already in db
Replies: 0
Views: 1298

Check if value exist already in db

Hi guys I'm stuck, How can i check if a value exist already in the db. Lets say I have user id (uid) and registration id (regid). If a certain row in my table already has the same uid and regid, the page will display - you have already registered for this program. but if there's none it will proceed...
by planketa
Sun Dec 10, 2006 7:26 pm
Forum: PHP General
Topic: Connecting PHP to MS Access DB on linux server
Replies: 3
Views: 1884

thanks

How about dsn less connection? if the access file and the php page is on the same location (folder) in unix system how do we get info from the access file?

thanks again.
by planketa
Thu Dec 07, 2006 12:45 am
Forum: PHP General
Topic: Connecting PHP to MS Access DB on linux server
Replies: 3
Views: 1884

Connecting PHP to MS Access DB on linux server

Hi guys

how can we connect php to ms access if the php is on a linux server and the access db is on a windows server?

i know we can always use mysql but the db in access is already in use and we have to maintain the file format of the db.

thanks
by planketa
Tue Oct 10, 2006 8:07 pm
Forum: phpMyAdmin
Topic: Remove a character on a certain column
Replies: 3
Views: 3088

thanks gesf

hay man, thanks. but what if the records are already there. no other imports needed, is there a script in phpmyadmin that can do that?
by planketa
Tue Oct 10, 2006 6:49 pm
Forum: phpMyAdmin
Topic: Remove a character on a certain column
Replies: 3
Views: 3088

Remove a character on a certain column

Hi guys How can I remove a character on a certain column. For example, I have a table in mysql and it has a column "cert_no" (varchar). This column should only have numbers in it, but for some reason when I imported a csv file, some values on the column has "-" before the number ex. -44567. How can ...
by planketa
Tue Jan 10, 2006 9:43 pm
Forum: PHP coding => Mail
Topic: Sending mail problem
Replies: 8
Views: 4739

I think its a default by IIS. I have not installed any SMTP server.
by planketa
Mon Jan 09, 2006 9:16 pm
Forum: PHP coding => Mail
Topic: Sending mail problem
Replies: 8
Views: 4739

thanks man. but I got a different smtp here. it says Default SMTP Virtual Server. When i right clicked on it there's no relay.
by planketa
Sun Jan 08, 2006 9:04 pm
Forum: PHP coding => Mail
Topic: Sending mail problem
Replies: 8
Views: 4739

hey thanks for the reply. but I dont think i know how to do that. please help, thanks
by planketa
Thu Jan 05, 2006 7:27 pm
Forum: PHP coding => Mail
Topic: Sending mail problem
Replies: 8
Views: 4739

Sending mail problem

Guys, I need help with sending mail I have this test script <?php mail("dracho@adb.org","test","this is a test mail","dexter"); ?> And when i run the page i get this error Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for dracho@adb.org in F:\wwwroot\testmail.php on line 3 I check...
by planketa
Wed Aug 10, 2005 6:03 pm
Forum: mySQL & php coding
Topic: date format
Replies: 3
Views: 985

ei, thanks man. this is great.
by planketa
Mon Aug 08, 2005 7:08 pm
Forum: mySQL & php coding
Topic: date format
Replies: 3
Views: 985

date format

Guys The date format in mysql is yyyy-mm-dd right? yes, we can display it in a different manner like mmm dd, yyyy or anything else but can we input in any format? like if i want to save November 17, 1980 i can type Nov 17 1980 17 Nov 1980 17 november 1980 november 17 1980 is it possible? tnx.
by planketa
Mon Aug 08, 2005 4:51 pm
Forum: mySQL & php coding
Topic: If statement
Replies: 3
Views: 1239

ei thanks, yes that was really easy or i am just really stupid
by planketa
Sun Aug 07, 2005 11:27 pm
Forum: mySQL & php coding
Topic: If statement
Replies: 3
Views: 1239

If statement

Guys, I know this is a bit stupid. I have a link that i only want to show if there is a data on a database field Lets say i have 3 fields in my db, Name, Age and Email If i retreive that data and show it on a page, i want that there is a link to appear whenevera there is an email. If there is now em...
by planketa
Tue Jul 19, 2005 9:39 pm
Forum: mySQL & php coding
Topic: Displaying Articles
Replies: 1
Views: 849

you can retrieve the data and place them in tables.

the first table would have the largest pic and the largest heading, now you can have a nested if inside so you have an option of displaying the records.
by planketa
Tue Jul 05, 2005 7:21 pm
Forum: PHP coding => Mail
Topic: How can i make a part of the body bold or different font
Replies: 5
Views: 2045

Thanks man. I'm sure there is another way to do it. I just cant figure it out
by planketa
Mon Jul 04, 2005 6:05 pm
Forum: PHP coding => Mail
Topic: How can i make a part of the body bold or different font
Replies: 5
Views: 2045

How can i make a part of the body bold or different font

guys here's my script in sending email $body = "Name: {$_POST['name']} \n\n ID NUMBER: {$_POST['idnum']}"; mail ("receiver", "Title",$body, "From: email "); How can i make the text Name: and ID NUMBER: bold or have a different font?...
by planketa
Mon Jun 20, 2005 9:41 pm
Forum: mySQL & php coding
Topic: Get percentage or sum of records from 2 tables
Replies: 2
Views: 1050

hi thanks for the reply, i did your query but it gives me all the records, i just need i record for the series of records lets say in my database 5 students answered for the march 1 2005. and 2 students answered for june 2, 2005 it appears like this. DATE----------------------PRE RESULT-------------...
by planketa
Mon Jun 20, 2005 9:23 pm
Forum: mySQL & php coding
Topic: Get records inside a specific range of date
Replies: 3
Views: 955

wow, that's it between! thanks man.
by planketa
Mon Jun 20, 2005 6:17 pm
Forum: mySQL & php coding
Topic: Get percentage or sum of records from 2 tables
Replies: 2
Views: 1050

Get percentage or sum of records from 2 tables

Guys I have 2 tables pre_results and post_results. they have the same structure but different data. pre_results is used for storing data or scores of students who took the pre exam post_results is for the post exams. both have the same columns date, coursecode, q1, q2... q10 (for storing 1 for corre...
by planketa
Mon Jun 20, 2005 5:24 pm
Forum: mySQL & php coding
Topic: Get records inside a specific range of date
Replies: 3
Views: 955

Get records inside a specific range of date

Guys I got records with dates in it. I want to get records from a specific range date that i will input. lets say i want records from Jan 15, 2005 to March 28, 2005 and also with the name i specify. How can we do that. I am thinking of making 3 textboxes 1 for the name, 1 for the start date and 1 fo...