-
Began Watching Array Manipulation
I have this array Array ( [0] => Array ( [post_category] => cat-1 ) [1] => Array ( [posts_count] => 33 ) [2] => Array ( [cells_num] => 1 ) … -
Replied To a Post in Array Manipulation
I assume $sourcearr is the array you shown above, your result array is $destarr $rowindex=-1; foreach($sourcearr as $key => $valuearr) { if ($key%4==0) $rowindex++; $value=current($valuearr); $destarr[$rowindex][key($valuearr)]=$value; } echo "<pre>"; print_r($destarr); … -
Replied To a Post in Error in PHP code to send SMS using way2sms API
add following line before line number 90, echo $regex."<br>".$content."<br>".$match; $userID = $match[1]; site5 might have changed the source code you were matching in your code -
Began Watching Error in PHP code to send SMS using way2sms API
The API was working fine for the past few months ago..But now I'm getting a notice in that output and message is not delivered. The notice is -" Undefined offset: … -
Replied To a Post in search of multi table with different result stylewith
http://www.phpclasses.org/package/2110-PHP-Split-MySQL-database-query-results-into-pages.html -
Began Watching Payment gateway for credit/debit/internet banking
Dear pals, I am searching a payment gateway which can do Credit/Debit/Internet banking in a single system. Do you know any thing in current existing system . Let me know … -
Replied To a Post in Payment gateway for credit/debit/internet banking
Any payment gateway you chose, they provide you integration kit and manauls to integrate your website. -
Stopped Watching Payment gateway for credit/debit/internet banking
Dear pals, I am searching a payment gateway which can do Credit/Debit/Internet banking in a single system. Do you know any thing in current existing system . Let me know … -
Began Watching search of multi table with different result stylewith
i have 3 table with different structure.. * article (content of only text) * download (content of text,file and image) * market (text, image) i want to show the search … -
Replied To a Post in search of multi table with different result stylewith
You can decide style in query itself , by adding one more column. This column value you can use to decide style in html query= "(SELECT 'arc_style' record_style, judul,judul_seo,isi,id_kategori,id_sub, id_news … -
Replied To a Post in Creating an image to display form a data form
set your path in following vairable permentely $_SESSION['dirname'] -
Replied To a Post in Creating an image to display form a data form
it starts from the root folder, any where it can be store, if you want to fix $_SESSION['dirname'] varible for ever and do not change it on any submit -
Replied To a Post in Creating an image to display form a data form
This is code I used to upload file to the selected folder and display and download file with link click <?php session_start() ; if(is_uploaded_file($_FILES['userfile']['tmp_name'])) { $currdirectory=$_SESSION['dirname']; } else { if … -
Created best local search engine open source toll
I want to integrate local seach engine to my website. Which open source tool is best for it, I want to search pdf files also. Will google custom search do … -
Began Watching Fatal errors
How can I catch and log PHP fatal errors in CodeIgniter? if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL); ini_set('display_errors', '1'); break; case 'testing': case 'production': error_reporting(0); break; default: … -
Replied To a Post in Fatal errors
I am not sure, But do "try- catch- exception" works in php as it works in java -
Replied To a Post in Creating an image to display form a data form
http://www.php.net/manual/en/function.finfo-file.php I guess you using > php 5.3 Based on file type you can set your image icon using switch case -
Began Watching Creating an image to display form a data form
Hey everyone, So I have an issue that I'm not sure how to solve. As for most of my posts, I'm sure it's an easy fix that I'm just not … -
Replied To a Post in Creating an image to display form a data form
1) I think when you upload, store its mimetype too separtely to identify its file type keep format standard (file table) 2) so while saving file on server and keeping … -
Replied To a Post in Tally up a table and put the results in a different table
Dani, I guess update queries will be in batch mode and not concurrent. So to get concurrent result, I suggest to write insert/update/delete database trigger on base table to keep … -
Began Watching Tally up a table and put the results in a different table
I'm having a brain fart and for some reason it's not coming to me how to do this right now. I'm trying to tally up a table, and store the … -
Replied To a Post in PHP query using multiple database mysql and mssql
this is not complied code, You need to check and correct if needed <?php //mssql $link = mssql_connect('dbhost', 'username', 'password'); mssql_select_db('database', $link); $result = mssql_query("select salesman_code , count(*) ermcount from … -
Replied To a Post in How can I display all the array value in another php page
you forgot to increment cout, add line after number 15, print_r($array_roll[$cout]." "); $cout++ -
Began Watching How can I display all the array value in another php page
Hello Everybody I am trying to display the value of an array in which is passed from one php page to another php page, but I am getting only last … -
Replied To a Post in PHP query using multiple database mysql and mssql
In one query its not possible You have to create 2 connections , one for mysql and another for mssql and loop through it -
Began Watching PHP query using multiple database mysql and mssql
Hi All Daniweb PHP Group, I have a big favor to ask (well for me this is big lol). I have 3 databases first (LOCAL),(AIMIS),(ERM). Here's the table (namely account_manager) … -
Began Watching Help with aligning an img within a div
My url is http://216.188.144.4/mental_health.php I have a closed quote, which is an image at the end of each italicized paragraph. The img is a span, inside a div. How can … -
Replied To a Post in Help with aligning an img within a div
Add vertical-align :text-top to img element <img src="images/detail_quotegreenclosed.jpg" width="30" height="30" border="0" alt="Continuing Day Treatment Program" style="vertical-align:text-top;"> -
Replied To a Post in HTML Radio Buttons and JS
You can do that by using jquery, But I guess it is not good choice to do, and its not userfriendly if any how u do that, rest options goes … -
Replied To a Post in using option with ajax
line no 51 testing1.php should look like following <option value=<?php echo $row['No'] ?> > -
Began Watching using option with ajax
this is my table subjects in lecturer database No subject credit_hour 1 (111) AAA 4 2 (222) BBB 3 3 (222) CCC 4 4 (333) DDD 3 this is my … -
Replied To a Post in Assistance Needed from PHP experts
you may use chat room on this site to discuss -
Began Watching Getting Error In PHP Script.
Hello All, I am getting error "*You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use … -
Replied To a Post in Getting Error In PHP Script.
probabley your $_GET['movie_id'] is blank in top of page add few lines to see are u getting proper values or not on ur page echo "<pre>"; print_r($_GET); echo "</pre>"; You … -
Replied To a Post in Assistance Needed from PHP experts
I guess courl location is column in court master , if you are storing court id, then you need not to save court location. You can always display using sql … -
Began Watching Assistance Needed from PHP experts
1. Please how can select Assigned Court so that the Assigned Judge and his Court Location should be auto selected...What I was able to do is just for Assigned court … -
Replied To a Post in Assistance Needed from PHP experts
what exact problem u are facing and in which page, I mean do u receive any error, or what abnormal things is happing or what is not happening, Please tell … -
Replied To a Post in PHP EXPERTS ASSISTANCE NEEDED
you should not post yoru pasword like this -
Began Watching PHP EXPERTS ASSISTANCE NEEDED
1. Please how can select Assigned Court so that the Assigned Judge and his Court Location should be auto selected...What I was able to do is just for Assigned court … -
Replied To a Post in at the end of each month email the user
1) You can write php script which will send reminder according to current date, on which it runs. 2) schedule that script in windows or create cron job in linux … -
Began Watching at the end of each month email the user
Hi, so im doing my final year project for college and im thinking off adding a function whereby if it has reached the end of the month the system will … -
Replied To a Post in HTML Radio Buttons and JS
I will go for dropdown instead of radio button <script lang='javascript'> function checkblank(drpid) { if(document.getElementById(drpid).value=='') { alert('Select preference'); document.getElementById(drpid).focus(); return false; } return true; } function checkorder() { if (!checkblank('mum')) … -
Began Watching HTML Radio Buttons and JS
Hi all, I'm currently building a questionnaire and I've run into a head scratcher. Some of the questions require the user to give a number to represent the importance of … -
Began Watching putting a table side by side
hey guys, so i have 2 tables and i want to align them side by side but no idea how. right now i have one table below the other. my … -
Replied To a Post in putting a table side by side
You need one more parent table with 2 cells <table border=0> <tr> <td> <center><p> <table border="1" rules="all" cellspacing="6" cellpadding="6" style="background-color:AntiqueWhite"> <tr> <td colspan="2"><b>HOUSE</b></td> <td colspan="2"><b>PERSONAL</b></td> <td colspan="2"><b>TRANPORT</b></td> </tr> <tr> <td>Rent/Mortgage</td> … -
Replied To a Post in A little and simple help required please
$(document).ready(function(radioname) { $("div.desc").hide(); $("input[name$='"+radioname+"']").change(function() { $("div.desc").hide(); $("#" + this.value).show(); }).filter(function(){ return this.checked; }).change(); }); -
Began Watching A little and simple help required please
I am creating a little template for my website but getting an error i think so in jquery actually i want to repeat the price terms toggle option multiple times … -
Replied To a Post in HUGE but simple javascript bug
I think wriring html code within script is creating problem, keeep document.write fucntion comented or write them with with normal/standard html -
Began Watching HUGE but simple javascript bug
hello, fellow computer geeks. I seem to be having a problem with this javascript code. It's for a new game that I am making in cloud9.io's developer. when I run … -
Replied To a Post in PHP script performing duplicate inserts
seesion and post are fine, add cookie checking to ur condition
The End.