39,320 Topics
| |
Hello,I'm new here and I'm not here to beg for code or anything i just need some help as to something I'm doing. I'm fairly good with php and I have been trying to do something with no luck. I want to make 3 links and 3 hidden images. When … | |
Hi everyone, Can you please let me know why I am getting error on populating Persian(Arabic)Numbers?! I have saved the php file as "Uncode in UTF-8" format which can display the dropdown list in a HTML correctly but when I want to retrieve them in PHP I encountered with following … | |
Hi I have created a site, but I am stumped on how to make the back ground click-able where the Nike graphig is with out making the whole page click-able. [URL="http://aonentertainment.com"]Link to my site[/URL]. [URL="http://aonentertainment.com"]http://aonentertainment.com/[/URL] | |
Newb here. Parse error: syntax error, unexpected '{' in /home/litt6041/public_html/listing/wp-content/plugins/great-real-estate/templatefunctions.php on line 1502 Heres the code I have in that doccument. Sorry its so long. For some reason dreamweaver adds a bunch of spaces when viewing. Please help, Thanks! [CODE] <?php /* * public functions provided by the Great Real … | |
hi, i created the page that it contains captcha for submitting my form and insert it inside the data base but in the main page i putted my text fields later i created iframe which is displaying my captcha images with refresh button in the insert page i need to … | |
Hi, I am using PHPBB for my forum. My intention is if someone registers to my website, he/she will be login to forum as well, automatically. That means no need to register twice to use the forum. Is there a way forward to achieve this? Will greatly appreciate your suggestions. … | |
How do i write an export script in php from mysql data base Regards | |
Hi, I am php developer and I would like to embed a expert system in my site. I have made a form in my site and when I click Ok I would like to run a .clp file via Jess (Java Expert System Shell) But I don't know how ... … | |
I am currently developing an intranet Search Engine. I have succesfully searched out the files from a collection of small files. I could blend in database information too. The issues is that while searching for a collection of files my algorithm slows down or else it crashes in between. Any … | |
[CODE]<?php include('connection/database.php'); require ('xajax/xajax_core/xajax.inc.php'); $xajax = new xajax(); function autocomplete($val) { if($val!="") { $query=mysql_query("select * from name where name like '".$val."%'"); $rows=mysql_num_rows($query); $out="<table width='100%' bgcolor='#bfbfc3'>"; while($data=mysql_fetch_array($query)) { $out.="<tr><td>".$data['name']."</td></tr>"; } $out.="</table>"; $objResponse=new xajaxResponse(); $objResponse->assign('div1','innerHTML',$out); $objResponse->script("jQuery:$('td').click(function(){ var a=$(this).attr('innerHTML'); $('#name').attr('value',a); $('#div1').attr('innerHTML',''); }); $('td').mouseover(function(){ $(this).css('background-color','gray'); }); $('td').mouseout(function(){ $(this).css('background-color',''); }); "); return $objResponse; } else … | |
Hi, Having some trouble getting it all together. I have a table in which i need to get Distinct names based on latest date. This is what the table looks like; Table Scores; [CODE] --------------------------------------------------------------------- | Name | Date | High Score | Medium Score | Low Score | --------------------------------------------------------------------- … | |
Hi friends, I dont have clear idea about drupal forms. Please guide me to learn it. | |
I'm trying to simply display some data from my database, but without duplicates, I'm working with the following code: [CODE] $query = mysql_query("SELECT answers FROM users"); $rows = mysql_num_rows($query); for ($j = 0 ; $j <= $rows ; ++$j) { $row = mysql_fetch_row($result); echo $row[0]."<br>"; } [/CODE] This works perfectly … | |
Hi Guys, [CODE] Yii::app()->clientScript->registerScript('highlightAC','$.ui.autocomplete.prototype._renderItem = function (ul, item) { return $("<li></li>") .data("item.autocomplete", item) .append("<a><img src=\"'.$Image.'\" border=\"0\" width=\"25px\" height=\"25px\"/> " + item.label + "</a>") .appendTo(ul); [/CODE] BY refering the above code, I wish to attach my image into an autocomplete search bar where each result will have different image depend on … | |
Hi I want to know how to insert picture and how to retrieve it from a table in PHP. Please help me.. Thanks in advance..... | |
So I learn and write php. Very messy I am sure. I find that MySQL is deprecated and no longer the latest and greatest. I want to take my app offline. Ok, but how can I do that if the remote server is not a option? How do I store … | |
Hi guys.. Well, i am an IB student in grade 12 (last year in high school) last friday, the IT technician in my school dared me to make a mail server (send and recieve emails) and he said he can give me all the dns access that i need to … | |
I would like to automatize this process: Upload in private mode all selected videos on YouTube channel, then embed it on a private blogspot blog with the setting: no related videos, play in HD, custom width of 1500 by 1150 (or just custom width X where X is width and … | |
WHAT in Heaven's name is a "T_STRING?" Nowhere do I see a definition of T_STRING, or why it is called T_something. From what I've been able to piece together, it might be an unquoted string. I have a [CODE]Parse error: syntax error, unexpected T_STRING in /home/xxxxxxxx/public_html/include/mmeetingDate.php on line 10[/CODE] Since … | |
Hi,I am new to jquery n using below code for submitting data in database. Its working fine for small data but not working for large data. Need suggestions Php code: [CODE]<?php include('db.php'); if($_POST) { $name=$_POST['name']; $desc=$_POST['desc']; $price=$_POST['price1']; //$type=$_POST['type']; mysql_query("INSERT INTO `pgdetail` (`name`, `desc`, `price`) VALUES ('$name', '$desc', '$price')"); } ?>[/CODE] … | |
Hello Dear Brothers & Sisters How are you………………….? Well, I am working on a personal project [COLOR="red"]http://www.propertyagentreviews.com/[/COLOR] that is about Property Agent Reviews. But now I am so much confuse because I can not find solution of one problem. And problem is that I want to create a message board … | |
This is for a website search function, I do the following to get several similar results from the mysql database: [CODE] $var = "words words words"; $str = explode(' ', $var); foreach ($str as $i) { $match[] = " e LIKE '%$i%' ";//to search each word within searched phrase separately … | |
Hi. I have this code: [CODE] %D8%AA%D8%B3%D8%AA [/CODE] how to convert this code with php to orginal text? Thanks. | |
Good Day I've created this edit/update form with assistants of this tutorial [url]http://www.freewebmasterhelp.com/tutorials/phpmysql/7[/url] And when I click the update button I get these two messages Notice: Undefined index: artist_id in C:\wamp\www\Practical_Project\admin_artist_edit.php on line 2 Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\wamp\www\Practical_Project\admin_artist_edit.php on line 9 I … | |
I want to deny acess the directory & sub-directories of: mysite.com/uploads/ The uploads directory has sub-directories such as: mysite.com/uploads/35 & mysite.com/uploads/35/83 mysite.com/uploads/35/83_a I need to deny access to all of these. I can use the typical htaccess methods to do this except that new sub-directories get added all the time … | |
Hi All experts, I am new to php, I need your help in follwoing : 1: I want to display documents from my database (its ok ) 2: user select one or multiple 3: this selection should be retrived and downloaded one by one after payment done through paypal(there is … | |
Hi I have a WordPress Blog that I can no longer access due to a header redirect issue. I have no idea how to fix this. The error message I am getting is this: Warning: Cannot modify header information - headers already sent by (output started at /home/altalake/public_html/twinsintow.com/index.php(1) : eval()'d … | |
How do I do this? I use the following code to get position of the first occurrence (case insensitive) of $search within $space. [CODE] $word = stripos($space, $search); [/CODE] However I would like to totally ignore some characters while matching and get the position of similar substrings within the search … | |
Hi. I've been following the Build a CMS in an Afternoon tutorial at [url]http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/[/url] . The CMS works great but the only thing it's lacking is pagination. The article archive displays the list of all of the articles that are in the database, but I want to be able to … | |
I am trying to input an option into exist code but i get this error: "Undefined variable: options in /home/dealsyno/xxxx/product/category.tpl on line 91" Kindly see below the code. [ICODE]<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?> <div id="content"><?php echo $content_top; ?> <div class="breadcrumb"> <?php foreach ($breadcrumbs as $breadcrumb) … |
The End.