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

Trending Topics

Online now

Members online
463
Guests online
965
Total visitors
1,428

Forum statistics

Threads
2,286,945
Posts
29,041,378
Members
1,217,282
Latest member
Andreew00012
Back
Top