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

Trending Topics

Online now

Members online
399
Guests online
3,718
Total visitors
4,117

Forum statistics

Threads
2,308,623
Posts
29,186,269
Members
1,192,116
Latest member
zealolot
Back
Top