- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- Compaq 610 ,Microsoft Windows 7 Ultimate SP 1
I have an array ob objects like this `[Object { cat="4", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2",attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}]` and I have series of divs with child divs as follow <div class="container" data-cat="1"> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> … |
|
I have the following code that craete homepage builder setting page under the appearance tab I am saving and retrieving the option successfuly but when I am echoing them to the hidden input type values I got NULL value why is that although the saving and retrieval is ok ? … |
|
I have function that creates textareas fields on the fly upon a click on a link I want to convert these textareas into tinymce wysiwyg here is the code $("body").delegate("a.add_tab","click",function(e){ e.preventDefault(); var uniq = $(this).attr("uniqid"); add_tab_ui($(this),uniq); }); function add_tab_ui(elem,uniq){ var content = "<div class='wrapTab'><label >Tab Title:<input type='text' name='tab-title-"+uniq+"' id='tab-title' value='' … |
|
Give that array I want to use the random string attached to the tab-title and tab content keys which are rEXMp and 3T2IV respectively , I want to use those to split the array into two arrays and getting rid of these characters in the new array and also add … |
|
I have this array Array ( [0] => Array ( [post_category] => cat-1 ) [1] => Array ( [posts_count] => 33 ) [2] => Array ( [cells_num] => 1 ) [3] => Array ( [grid_num] => 0 ) [4] => Array ( [post_category] => cat-2 ) [5] => Array ( … |
|
Hello Everyone , I`m using an Jquery accordion effect that you can download from here [url]http://www.marghoobsuleman.com/jQuery-common-accordion[/url] The Author of this script does not respond to my complains , and I hope u can help me here the problem happens only in webkit based browsers (Chrome,Safari) where when trying to re-play … |
|
Hello Everyone , I`m trying to build MVC pattern using OOP PHP , please read the rest of the post to understand what I want exactly This is the homepage controller which extends the main controller [CODE]class Home extends Controller { function __construct () { parent::__construct(); } public function index … |
|
Re:
Hi, I was trying to import the excel values in mysql DB. While trying, am facing this error. Please help me out: [CODE]Fatal error: Call to undefined function mysql_real_espace_string() in E:\xampp\htdocs\read.php on line 49[/CODE] CODING: [CODE]<?php ini_set('memory_limit', '16M'); set_time_limit(0); require_once("E:/xampp/htdocs/phpexcel/Classes/PHPExcel.php"); $inputFileName='./xls/test_data.xls'; /** Identify the type of $inputFileName **/ $inputFileType=PHPExcel_IOFactory::identify($inputFileName); /** … |
|
Re:
Using onMouseOver in a link - I am able to display a file's contents in a frame. - I can display an image file in an IMG tag But I can't figure out how to combine the two. What I want to do is onMouseOver display the contents of a … |
|
Re:
[IMG]http://i.imgur.com/DGegu.png[/IMG] I have that page above.. But the thing is the entire website was made using an iFrame that loads another page.. Each page has one of those at the bottom. Thing is when the main page loads the second page, there are duplicates of those at the bottom. I … |
|
Hello Everyone, I`m Using this code to pass javascript associative array to php using jquery ajax [CODE]function install (loc) { var mydata = []; //lightbox(); switch(loc){ case "step1": { mydata['step'] = '1'; mydata['SiteName'] = $("#siteName").val(); mydata['SiteDesc'] = $("#siteDesc").val(); mydata['AdminEmail'] = $("#adminEmail").val(); mydata['username'] = $("#username").val(); mydata['password'] = $("#password").val(); } break; case … |
|
Hello Everyone, I`m a PHP developer, These days I`m thinking seriously about learning ruby , but I`m not sure if it gonna add to my knowledge , so i have few questions about it and hope that a ruby specialist will answer me 1- Do I need to learn ruby … |
|
Hello Everyone, I have a plain joomla template and I have articles that I want to list on the main the page , but they must take an exact style in displaying , I have an example of what I mean , I just need to know how I can … |
|
Re:
Hi All, I am seeing that there is no way to retrieve more than 1 image from a mysql table? I have googled it, looked into 10's of websites.. no solution. How can i simply retrieve many pictures from a table,with the other columns if possible, please? and i also … |
|
Re:
i have created a html form page(1) and php page(2) to insert records into a database from the html form, when i insert the records from the html form and press the submit button the records don't get into the database but a page open with the php code i … |
|
Re:
I have a problem in display or echo in php. what method should i follow if i the problem is with like this: example code: $email = trim($_REQUEST["email"]); if(strlen($email) < 1){ echo "0__notice__Email is empty."; } but the output should display only this part "Email is empty." only and not … |
|
Re:
I'm a NEWBIE and I have been stuck on this for days. I have one table that has the following rows: rid = Referral ID category = Category subcategory = Subcategory rbusiness = Referred Business Name rcontact = Referred Contact Name etc.. I have created the form (referral_input.php) that allows … |
|
Hello Everyone I want to ask about the Reputation Points and how its being increased for a member(the rule for increasing these points ) thanks :) |
|
Re:
Hello Before I show you my code I would just like to put forward to whoever is willing to help me, and I have spent the last 2 days looking at hundreds of different login scripts and my head is hurting as the more I look at them the more … |
|
Re:
Hello I have been reasearching many sites regarding encryption, I am a bit lost. I can cryp() the password with $salt but when I go to login and compare the passwords it keeps taking me back to the login. I have taken out all the encryption code but below is … |
|
Re:
Right now i have 6 files: Main.php = The login page Info.php = The first page seen after login ForgetPass1.php = The first page for password recovery ForgetPass2.php = The first page for password recovery functions.php = Holds all the php functions used in all websites including: -logout() -confirmUser() -SQL_Connection() … |
|
Re:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\emohonv2\module-srksmka-spi.php:116) in C:\xampp\htdocs\emohonv2\auth.php on line 3 |
|
Re:
Want to learn basics of PHP.Can you share your knowledge with me? |
|
Re:
Hi, Can anyone tell me how I would remove characters from a string if they are present? For example lets say I wanted to remove c:/fakepath/ from the string c:/fakepath/DSF102.jpg and just leave the DSF102.jpg how would I got about this? I got close but I need help. Thanks in … |
|
Re:
html code: [CODE]<ul class="item"> <li><a href="#">Menu Item One</a></li> <li><a href="#">Menu Item Two</a></li> <li><a href="#">Menu Item Three</a></li> <li><a href="#">Menu Item Four</a></li> <li><a href="#">Menu Item Five</a></li> </ul> [/CODE] srcpt code: [CODE] $(document).ready(function() { $('ul.item a').hover(function() { $(this).stop().animate({ left: 20 }, 'fast'); }, function() { $(this).stop().animate({ left: 0 }, 'fast'); }); });[/CODE] pls … |
|
Re:
how to popup submit button while selecting item from the dropdown list. i had completed the task of displaying textfield while selecting item from the dropdown list but unable to figure out how to popup the submit button with textfield while an item is selected from the dropdown list...please help … |
|
Re:
Hi everyone New to the site (as you can tell) I've searched the web and your site and still struggle to find an answer to my question. I'm creating a profile website in PHP, I have my sign up and login forms, which registers the details on my sql database, … |
|
Re:
Hey, I need to get the last ID from my mysql database and add +1 to it. I saw this mysql_insert_id(); but it looks like it only gets the last insert id? But what happens if the last query was a different table? Dan |
|
Hello Everyone, I just have few questions about the the job of web developer and I hope that I selected the right place 1- what is the difference between web developer and web coder ? 2- should a web developer study computer science deeply , before starting a career & … |
|
Re:
am getting [COLOR="Red"]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent[/COLOR] while running the following code. please help to fix it.. thanks. <html> <!-- centermain.php is a frame, user redirected to frame if tried to access from url--> <SCRIPT LANGUAGE='javascript'>try { if (top == self) {top.location.href='centermain.php'; } … |