🔒 Closed TextFile as database Activity Help

Status
Not open for further replies.

Lenardkun

Fanatic
Pano ko po kaya ma eedit yung pangatlo na word
Bali gumawa po ako ng form na makukuha yung ID,Name saka Course tapos nilagyan ko po sya ng "*". Bali kapag na sasave sya ganto po sya
01*John*BSIT
02*Juan*COMSEC
03*Mary*COE
Dapat po kunwari gusto kong baguhin yung course ni mary pwede kong mabago. kaso hindi ko po magawa. Need po Php lang yung gamitin
 
use explode() function of php.
Sample code:
PHP:
<?php
$str = 'one,two,three,four';

// zero limit
print_r(explode(',',$str,0));

// positive limit
print_r(explode(',',$str,2));

// negative limit
print_r(explode(',',$str,-1));
?>

More information @ You do not have permission to view the full content of this post. Log in or register now.
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 408
    Views
  • 3
    Participants
Last reply from:
Arcturus

Trending Topics

Online now

Members online
1,083
Guests online
8,858
Total visitors
9,941

Forum statistics

Threads
2,354,243
Posts
29,382,859
Members
1,079,384
Latest member
chuerys
Back
Top