🔒 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
  • 395
    Views
  • 3
    Participants
Last reply from:
Arcturus

Online now

Members online
966
Guests online
1,443
Total visitors
2,409

Forum statistics

Threads
2,276,204
Posts
28,968,286
Members
1,231,164
Latest member
mackmczb
Back
Top