Search found 28 matches
- Fri Aug 25, 2006 7:06 am
- Forum: PHP - Code
- Topic: PHP looping one question category to the answers of that cat
- Replies: 1
- Views: 642
PHP looping one question category to the answers of that cat
Hello there! Could some one please help me with the code below. I'll explain what Im trying to do. Basically, I have an FAQ application and I'm looping to output the question category and all the answers for that category. At the moment it diplaying all the categoties on top and then all the questio...
- Mon Jul 17, 2006 12:21 pm
- Forum: PHP - Code
- Topic: help with php strip function
- Replies: 6
- Views: 354
- Mon Jul 17, 2006 12:09 pm
- Forum: PHP - Code
- Topic: help with php strip function
- Replies: 6
- Views: 354
- Mon Jul 17, 2006 12:02 pm
- Forum: PHP - Code
- Topic: help with php strip function
- Replies: 6
- Views: 354
- Mon Jul 17, 2006 11:56 am
- Forum: PHP - Code
- Topic: help with php strip function
- Replies: 6
- Views: 354
help with php strip function
Hello, I have a string as follow <div id=\"TEXT_CODE\"> </div> and Im trying to strip off everything except TEXT_CODE. I have tried a few php predefined functions such as strip_tags, str_replace but Im not satisfy with the result... does anyone know any better function that will g...
- Fri May 19, 2006 7:21 am
- Forum: PHP - Code
- Topic: having problem Inserting Set data into mysql
- Replies: 1
- Views: 487
having problem Inserting Set data into mysql
Can any one please help... I have a survey questionnaire, one section has checkbox which are suppose to be submitted into my database if checked individually but Im having trouble writing a query, at the moment it submitting everything but I want it to submit what is checked here is my code html <ta...
- Tue Dec 13, 2005 3:37 am
- Forum: PHP - Code
- Topic: table cells and rows array, looping
- Replies: 4
- Views: 344
- Mon Dec 12, 2005 8:42 am
- Forum: PHP - Code
- Topic: table cells and rows array, looping
- Replies: 4
- Views: 344
table cells and rows array, looping
Hi! I m retrieve data from a database using the following sql statement: sql_query = "SELECT * FROM $table WHERE StartDate <= '$currdate' AND EndDate >= '$currdate' ORDER BY DisplayOrder ASC LIMIT 4"; , Now, I was wandering if anyone could help in writing array that display the result outp...
- Mon Dec 12, 2005 4:57 am
- Forum: PHP - Code
- Topic: array that organises query output in sequences..
- Replies: 5
- Views: 1076
all I want is to a type of recordset that display the first output in the first table first cell, the second output in the first table second cell. and the remaining result to be displayed inthe second table which has only one cell. the random ranking functionality has been achieved using this code:...
- Thu Dec 08, 2005 4:23 am
- Forum: Databases
- Topic: No Null value in database
- Replies: 1
- Views: 269
No Null value in database
Hi there! I have set up a default No Null value in one of my table to stop users submitting an empty records but the No null value is not working. Users are still able to submit an empty record, Im trying avoid writing a validation script in the front end and validate the input from the database. FY...
- Tue Dec 06, 2005 10:14 am
- Forum: PHP - Code
- Topic: array that organises query output in sequences..
- Replies: 5
- Views: 1076
pickle, Thanks for your reply, but I figured you didnt understand my question, I posted a question for help for a query that was displying it output as well as ranking them (e.g 1 to 10). let say if item1 is ranked 2 item2 is ranked 5 and item6 is ranked 5 item7 is ranked 2 this will output : item 1...
- Tue Dec 06, 2005 5:57 am
- Forum: PHP - Code
- Topic: array that organises query output in sequences..
- Replies: 5
- Views: 1076
array that organises query output in sequences..
with reference fo the following topic: display database record at random and ranking then by order. http://forums.devnetwork.net/viewtopic.php?t=35433&highlight= I have two tables and I would like to display the output of the code reffered in the topic above as shown in the table below. Here is ...
- Fri Nov 25, 2005 4:00 am
- Forum: PHP - Code
- Topic: Javascript alert box with PHP once per browser session
- Replies: 6
- Views: 1125
- Thu Nov 24, 2005 11:05 am
- Forum: PHP - Code
- Topic: Javascript alert box with PHP once per browser session
- Replies: 6
- Views: 1125
- Thu Nov 24, 2005 9:58 am
- Forum: PHP - Code
- Topic: Javascript alert box with PHP once per browser session
- Replies: 6
- Views: 1125