Search found 16 matches
- Wed Jun 07, 2006 10:45 am
- Forum: PHP - Code
- Topic: Help using arrays
- Replies: 4
- Views: 528
Help using arrays
Hi Im VERY new to PHP Im trying to get my head around using arrays with php. So far ive slapped together the following code but it doesnt output any results. Id appreciate any help anyone can give with this as its doing my head in. MAIN echo "<form method ='post' action='action.php'>"; ech...
- Mon May 22, 2006 7:39 am
- Forum: PHP - Code
- Topic: Help using arrays needed.
- Replies: 2
- Views: 152
Help using arrays needed.
Hi Ive managed to populate a table using an array called from a MYSQL database. The problem im having is as follows.. What im after is when the user selects the required radio button, the form submits this value along with the ID called from the MYSQL database. Im getting the radio button value but ...
- Wed May 17, 2006 8:12 am
- Forum: PHP - Code
- Topic: Can anyone help with this script
- Replies: 4
- Views: 1122
Ah
Just proves how stupid i can be......
ive added the following to the file but still no joy.
As you can guess im struggling here, any help would be appreciated.
Just proves how stupid i can be......
ive added the following to the file but still no joy.
Code: Select all
$namec = str_replace("$name","***");
fwrite($fp2, "$namec");- Wed May 17, 2006 7:51 am
- Forum: PHP - Code
- Topic: Can anyone help with this script
- Replies: 4
- Views: 1122
Can anyone help with this script
Pimptastic | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Im ...
- Tue May 16, 2006 4:58 am
- Forum: PHP - Code
- Topic: Using flat text files
- Replies: 1
- Views: 200
Using flat text files
Can anybody give me a pointer on what i would have to do to enable me to take an entry from one flat text file and move it to another. ie. FILE1 FILE2 a b c to end up FILE1 FILE2 a b c Sorry for being vague.
- Mon May 15, 2006 10:12 am
- Forum: PHP - Code
- Topic: Noob Needs help on first attempt
- Replies: 8
- Views: 760
- Mon May 15, 2006 10:06 am
- Forum: PHP - Code
- Topic: Noob Needs help on first attempt
- Replies: 8
- Views: 760
- Mon May 15, 2006 9:39 am
- Forum: PHP - Code
- Topic: Help with usin checkboxes
- Replies: 2
- Views: 358
- Mon May 15, 2006 9:09 am
- Forum: PHP - Code
- Topic: Help with usin checkboxes
- Replies: 2
- Views: 358
Help with usin checkboxes
Hi can anyone help with this... What im after is to be able to select several checkboxes and depending upon the selections these are added to a flat text file.. Code Follows <?php $file_name = "test.txt"; $fp = fopen($file_name, "r"); echo "<br><form action='$_SERVER[PHP_SEL...
- Fri May 12, 2006 10:35 am
- Forum: PHP - Code
- Topic: making links from a flat text file
- Replies: 1
- Views: 125
making links from a flat text file
Hi is it possible to read a flat text file in the following format
user1
user2
user3 etc....
and produce a html file where each entry is a clickable link???
Hope someone can help..
user1
user2
user3 etc....
and produce a html file where each entry is a clickable link???
Hope someone can help..
- Sun May 07, 2006 6:59 pm
- Forum: PHP - Code
- Topic: Hi can anyone help with a string searh query
- Replies: 1
- Views: 220
Hi can anyone help with a string searh query
Hi Basically what im after is a way to search a flat text file for a requested string and be able to remove the said string if its found. IE. Text file contents ~~~~~~~~~~~ apple banana cherry If the user types banana into the form and submits it then the text file is appended to have banana removed...
- Fri Apr 28, 2006 2:52 pm
- Forum: PHP - Code
- Topic: Need help using fopen, fwrite etc
- Replies: 7
- Views: 952
- Fri Apr 28, 2006 10:42 am
- Forum: PHP - Code
- Topic: Need help using fopen, fwrite etc
- Replies: 7
- Views: 952
- Fri Apr 28, 2006 10:03 am
- Forum: PHP - Code
- Topic: Need help using fopen, fwrite etc
- Replies: 7
- Views: 952
Need help using fopen, fwrite etc
Hi First I apologise, your probably all sick of questions on this subject, ive read tutorials but i can get my head round it. What im trying to do is have a HTML form that i enter the following Username Password. I want this information to be written into a file in the following format username:pass...
- Fri Oct 28, 2005 3:27 am
- Forum: PHP - Code
- Topic: URL view by User Level
- Replies: 5
- Views: 258