No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
hello! for the newline we have the fuction nl2br() but what about BOLD text.. underline or italic ?! is there a way to convert that rich text in to HTML? [B]bold[/B] into <b> bold </b>... ?? |
|
Re:
i'm getting the following errors: Notice 8: Undefined variable: student_info [APP\controllers \motor_developments_controller.php, line 7] i'm getting the same notice in \motor_developments\search.ctp as well. The student_info data in $this->redirect is not getting passed from merry_parents_controller's login function to motor_developments_controller's search function. Does anyone know on why student_info is not getting passed? … |
|
Re:
Hey Guys, I need some help... I have the following code: [CODE]$dueinQ = mysql_query("SELECT * FROM `invoices` WHERE `status` = '10' OR `status` = '11' OR `status` = '9'"); while($dueinR = mysql_fetch_assoc($dueinQ)){ $inv_due = $dueinR['duedate']; $eofy = $dueinR['eofy']; $datediff = $inv_due - $eofy; $days = floor($datediff/(60*60*24)); if($days > 365){ //Do … |
|
Re:
product_preview.php [CODE] <?php // EDIT / DELETE MODE $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; if(!empty($_POST['id']) && !empty($_POST['mode'])){ if(!$_POST['mode'] == 'edit'){ $output = mysql_query("SELECT * FROM kategori WHERE id=".$_POST['id']) or die(mysql_error()); $data = mysql_fetch_array($output); $kategori = $data['nama_kategori']; echo $kategori; } elseif(!$_POST['mode'] == 'delete'){ $output = mysql_query("DELETE * FROM produk WHERE … |
|
Re:
Well, doing a beginner project. I've 100% finished with adding items to the DB. However, having stuck trying to use the "search" button to retrieve the DB list, as well updating errors. Objective, input last name, click on search, and find the results based on the last name input. Here's … |