39,316 Topics

Member Avatar for
Member Avatar for shella

Hi there! First of all Happy New Year to all the community. I just update the wordpress at the 3.8 version and a pair of codeline I wrote don't work now. Actually I call the database in a new table I created to have back some data but if yesterday …

Member Avatar for pritaeas
0
105
Member Avatar for danimischiu

Hello, I'm trying to get a website source with a curl call but some data is missing and I don't know what I'm doing wrong. If i make a call to the url in browser in the page source will apear "<!-- request captchas: blabla -->".. but after I call …

Member Avatar for pritaeas
0
156
Member Avatar for abhilashrajrs

I have database with Name, email, joindate and my Query is $name=$_POST['txtname']; $email=$_POST['txtemail']; $date = date("Y/m/d"); INSERT INTO member (name,email,joindate) VALUES ('$name', '$email', '$date') What should be the output query to get all data by month?

Member Avatar for pritaeas
0
238
Member Avatar for muralisugu

Hi i want show the image in php i connected the database i show the images it is comming this type of code ccccccccccccccccccccccccccccccccccccccccccccccÿÀx "ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*5 i put in header("content-type: image/jpeg") is show only img symble. any persong know that code please update,,,

Member Avatar for pritaeas
0
76
Member Avatar for thilipdilip

HI: I'm new to prstashop developement Enviroinment. In Prestashop I have created on module, In that I want to create a page and need to place the link in user dashboard once the user was logged in this link will be display in user dashboard, how to do this. Thanks …

0
168
Member Avatar for davy_yg

Hallo, How to trim content? I would like to show only the first 30 letters of this content. This is what I have so far: include('include/con_database.php'); $result = mysql_query("SELECT * FROM dynamic_content WHERE id='124'"); while ($data = mysql_fetch_array($result)){ echo '<div id="text">'.$data['content'].'</div>'.'<br>'; } Thanks before.

Member Avatar for davy_yg
0
301
Member Avatar for singularity~

I have no idea why I cannot get jquery to parse a JSON array from a PHP server side call. Here is my jQuery $.ajax({ type:"POST", url:"/Home/Profile/cb_profile.php", data:{loadProfile: JSON.stringify(itemsToPost)}, success: function(data){ var returnedItem = $.parseJSON(data); }, error: function(e){ console.log("We've had a error"); }, }); Here is my PHP if(isset($_REQUEST['loadProfile'])) { …

Member Avatar for Dani
0
354
Member Avatar for chrisschristou

hello friends. like the question title i want add function to my jquery script when a user choose a option of select html form field to calculate a totoal price. here is my script and the html form field THE FIELD <option value="0" selected="selected">Shipping</option> <option value="0">0.00</option> <option value="9.80">9.85</option> <option value="19.60">19.80</option> …

Member Avatar for chrisschristou
0
165
Member Avatar for Dragon840215

Ok so i an very new to this site and am trying my luck with PHP. Got a great idee to make some cash but now to implement it is a whole new game for me. I want to keep the selceted value of the select box after the form …

Member Avatar for Dragon840215
0
2K
Member Avatar for subrata_ushasi

Dear All , In my website there is an inputbox . When I click on it ,light box will be opened where list of products and its product is will come from database . Now when I select any product ,this product come(ie visible ) in my inputbox. Here is …

Member Avatar for nauticalmac
0
235
Member Avatar for shaswata.shaha

I am a computer science graduate and want to learn web application development. I have learned HTML,CSS and JavaScript. I have knowledge of Oracle and medium knowledge of C++. Now I want to learn a server side scripting language. I am really confused what language should I learn. Personally I …

Member Avatar for nauticalmac
0
210
Member Avatar for davy_yg

Hello, Cek this: [Events](http://rustoleum-indonesia.com/Events.png) Those event news will be added through the admin CMS. I wonder how to create the link pages? What should I name it? It seems like everytime I input a new event news I have to create a new php file. Any idea?

Member Avatar for davy_yg
0
140
Member Avatar for ASHIQUE

Good day, I need help with my ajax based dynamic drop down list. Right now, ajax.php pulls up data depending on value at a single column. I need it to pull up data based on value at certain columns. I am new to php and its going over my knowledge. …

Member Avatar for pritaeas
0
369
Member Avatar for AARTI SHRIVAS

hello all i have to work in joomla virtuemart for my client he wants to give discount on products in some other manner there are 2 category of products 1stcategory and 2nd category now 2nd category have more sub category and sub-sub category now i what client want that when …

0
285
Member Avatar for chronosdevata

Can anyone recommend me an API for travel booking that includes flight and hotel fares worldwide? I already searched through the internet but found nothing (some, but doesn't exactly fit my needs). And also have searched several discussion that couldn't bring me anywhere such as; http://blog.programmableweb.com/2012/02/28/134-travel-apis-kayak-yahoo-travel-and-hotelscombined/ What travel sites release …

Member Avatar for diafol
0
142
Member Avatar for Mohamed_26

Hello Everyone, I have written code to create Temporary Table using PHP script. Now, when I run the script, it seems to have created the temporary table. Now, my problem is when I try to do INSERT statement in PhpMyAdmin into the temporary table I create, I am getting an …

Member Avatar for Mohamed_26
0
3K
Member Avatar for Iikeloa

Hi I wrote this code and I hope that you can tell me what is wrong with it .! $sql = "INSERT INTO offers (title,description,location,type,status,img,real,username) VALUES('".$title."','".$description."','".$location."','".$type."','".$status."','".$img."','".$real."','".$username."')"; $query = mysql_query($sql) or die(mysql_error()); The error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL …

Member Avatar for Iikeloa
0
176
Member Avatar for Borderline

Afternoon I set up a substring on the raceid column of my database; the raceid column consists of the season+individual race number, to produce a unique id number. Image of the database below - my code was doing what I expected (hoped for?!) and outputting the four digit season. http://www.arabianraceform.co.uk/form/horses/dbimg.jpg …

Member Avatar for Borderline
0
156
Member Avatar for mattyd

I am still working on the redirection issue (As noted in a previous thread here). I think I may have found a nice solution via a video tutorial on the subject. When running this test script, it should simply load google.com; The result though is a "Page not found" screen. …

Member Avatar for nauticalmac
0
192
Member Avatar for CraigWinder91

Hi there, I am getting the following error. Could you review my code and help me as to why? I am using the mod_rewrite extention also. Notice: Undefined index: in /var/www/incpages/mylines.php on line 48 <?php if( basename( __FILE__ ) == basename( $_SERVER['PHP_SELF'] ) ) { exit(); } include("includes/config.php"); if ($maintancemode …

Member Avatar for diafol
0
181
Member Avatar for Amr87

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 …

Member Avatar for Amr87
0
207
Member Avatar for saadi06

Hi, I have a question. I am trying to save some data in a text field in database and I want to convert whatever text data that is presend in the field to an audible wav file format. Is there any way in php we can achieve this or not. …

Member Avatar for diafol
0
84
Member Avatar for ngonix

Hello, I have an issue with my ajax script. Basically I want to be able to stop a php script from executing when I click on the Cancel button of the Confirm Dialog box. Here are the code snippets for my application: policy.html: .... $(document).ready(function(){ $('#process').click(print_check); }); function print_check(){ var …

Member Avatar for PcPro12
0
1K
Member Avatar for chrisschristou

hello friends i want to creat a calculator in my form for calculate total price in real time for exemple" total field = price field + quantity field" my form is a html form and price value is php value <form action="" method="post" name="formulaireajout" class="formulaireajout" id="formulaireajoutid"> <input name="price" type="text" id="pricefield" …

Member Avatar for chrisschristou
0
3K
Member Avatar for chrisschristou

Hello and mery christmas and happy new years. on my site i would like to create a simple php/mysql shopping cart use html form to insert product in shopping cart table. with the help on forum i created a md5 hash it generate beatyfull code... every time when i click …

Member Avatar for chrisschristou
0
335
Member Avatar for DjFumon

hello, i need help to scrape the image of the movies from http://www.yaske.to/es/pelicula/0003735/ver-you-39-re-next-online.html i have this but not works fine: $jm_anime_imagen = cut_str($pagina, '<meta property="og:image" content="', '" />'); $imagen = str_replace("http://yaske.to/upload/images/", "", $jm_anime_imagen); copy($jm_anime_imagen, 'imagen/'.$imagen); echo '<img src="http://www.masfriv.com/imagen/'.$imagen.'" width="148" heigth="220" />';

Member Avatar for DjFumon
0
151
Member Avatar for Zahid_4

Hi, I want to build a web application for customers to run on their local servers on their computers offline. I want that my code logic be protected and no one can edit and use my code without my permission. Even administrator(client) of that application don't have permission to edit …

Member Avatar for Zahid_4
0
313
Member Avatar for hriti
Member Avatar for chrishea
0
84
Member Avatar for prem2

Hi, I have recently getting the follwing error when using soap in my php. Fatal error: Class 'SoapClient' not found My php version : PHP 5.4.19 (cli) Installed: php-soap.x86_64 0:5.3.3-23.el6_4 Currently using centos $client = new SoapClient('https://sandbox.cashu.com/merchants/cashUPayments.wsdl',array("trace" => 1)); Kindly, let me know how to fix it out. I have …

Member Avatar for cereal
0
989
Member Avatar for leadcrumb

Wordpress - I want to use a title condition for displaying info on a page, from a MySQL table "country". The condition must compare the title with the names in the column "name" and when it match a value than display on the page the text from column "description" from …

Member Avatar for nauticalmac
0
484

The End.