39,326 Topics

Member Avatar for
Member Avatar for morteza_ipo

Hi. I have this code: [CODE] %D8%AA%D8%B3%D8%AA [/CODE] how to convert this code with php to orginal text? Thanks.

Member Avatar for morteza_ipo
0
64
Member Avatar for nick_90

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 …

Member Avatar for raphie
0
270
Member Avatar for WickidGRAFX

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 …

Member Avatar for pritaeas
0
61
Member Avatar for naveedqadri

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 …

Member Avatar for cwarn23
0
61
Member Avatar for TwinsInTow

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 …

Member Avatar for TwinsInTow
0
306
Member Avatar for asif49

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 …

Member Avatar for raphie
0
84
Member Avatar for Chett

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 …

Member Avatar for diafol
0
71
Member Avatar for lobebe

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) …

Member Avatar for pritaeas
0
267
Member Avatar for 18engineer

i am learning php... i want to implement ajax with php.. can u tel me a good tutorial of implementing ajax with php? i have visited [url]www.w3schools.com[/url] but it provide a very basic intro about ajax and php... i need some implementation examples... Thanx

Member Avatar for Nick Evan
0
105
Member Avatar for cskinittest

hai iam new to this domain. iam developing online quiz contest project in php (mysql,javascript,ajax) i need Automatic session timeout/logout and also i need time counter display using php and AJAX. pls refer any website. i searching for last 2 days.. advance thanks..

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Helinxed

Hello everyone,I need a help to back values from php to javascript... Listen: [CODE] __hasInventory = true; _iMatrix = []; $.ajax({ url: 'index.php?acao=test', dataType: 'script', type: 'post', data: {mode: 0}, success: function () {[/CODE] If is all Ok with post method,I'd like it back with results passing PHP results to …

Member Avatar for Helinxed
0
161
Member Avatar for davy_yg

product_preview.php [CODE] <h2><center>Product Preview</center></h2> <p> <form method = "post" action = "product_edit.php" > <p> <input name="tambah_produk" type="button" value="Tambah Produk" /> </p> </form> <table border="1" cellpadding="2"> <tr> <td>No </td> <td>Nama Produk</td> <td>Harga</td> <td>Tgl Masuk</td> <td>Aksi </td> </tr> <?php include ("includes/koneksi.php"); $i = 1; $output = mysql_query("SELECT * FROM produk") or die(mysql_error()); …

Member Avatar for Stefano Mtangoo
0
278
Member Avatar for asif49

Here's a simple version of my problem: [CODE] <?php $words = "hEllO wOrLD"; //the input (is usually always different each time) $phrase = "I made a program which prints Hello World"; $result = str_ireplace("$words", "<b>$words</b>", "$phrase"); //str_ireplace(search_for, replace_with, apply_to) echo $result; ?> [/CODE] This would produce the output "I made …

Member Avatar for diafol
0
238
Member Avatar for Sorcher

Hello! I am fetching some names from MySQL and i want to remove duplicated strings. Currently got this code: [CODE]function get_PublicAlbums(){ $sql = "SELECT * FROM `ue-userfile` WHERE public=1"; $result = mysql_query($sql); $html = ""; while($row = mysql_fetch_array($result)) { $albumname = $row['albumname']; $html .= '<p><a href="index.php?page=public-albums&an='.$albumname.'">'.$albumname.'</a></p><br/>'; } /* It might …

Member Avatar for Sorcher
0
151
Member Avatar for extjac

Hi, i am trying to make this work but i guess i am missing something..... This is what i have: "db.php" [CODE] <?php DEFINE('DATABASE_USER', 'root'); DEFINE('DATABASE_PASSWORD', '123456'); DEFINE('DATABASE_HOST', 'localhost'); DEFINE('DATABASE_NAME', 'livesearch'); $mysqli = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASSWORD, DATABASE_NAME); if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } else { //connected …

Member Avatar for extjac
0
375
Member Avatar for chiiqui

I just wanted to know what famous algorithms that you should have in hand? or be familiar with? or That is always used?

Member Avatar for JeffGrigg
0
234
Member Avatar for 18engineer

i am learning php... i want to implement ajax with php.. can anyone tel me a good tutorial of implementing ajax with php? i have visited [url]www.w3schools.com[/url] but it provide a very basic intro about ajax and php... i need some implementation examples... Thanx

Member Avatar for diafol
0
167
Member Avatar for davy_yg

contact_us.php [CODE] <h2>Contact Us</h2> <br /><br /> <form action="send_email.php" method="POST"> <table border="0" cellpadding="2"> <tr> <td>Nama Lengkap: </td> <td><input name="nama" type="text" value="" size="30" /></td> </tr> <tr> <td>E-mail: </td> <td><input name="email" type="text" value="" size="20" /></td> </tr> <tr> <td>Nomor Telepon: </td> <td><input name="telp" type="text" value="" size="15" /></td> </tr> <tr> <td>Pilih Subjek : </td> …

Member Avatar for davy_yg
0
351
Member Avatar for architact

Hello Coders, I am trying to generate the pdf file using php, I successfully generated the php file and then I tried to insert an image in the pdf file using php and got this error, I have the image and file in the same directory and don't know why …

Member Avatar for Bibhas Biswas
0
279
Member Avatar for lobebe

I want [ICODE]<?php } ?> <?php if (isset($this->request->get['route']) && $this->request->get['route'] == 'information/contact') { ?> $('#tab_contact').addClass('selected'); <?php } ?> [/ICODE] to replace [ICODE]<a href="<?php echo $wishlist; ?>" id="wishlist_total"><?php echo $text_wishlist; ?></a>[/ICODE] How can i do this?

Member Avatar for lobebe
0
264
Member Avatar for munna_90

Hi , My requirement is user entered data needs to pass in to url Ex : user entered : Munna_90 The entered value has to be pass in to link http://details.orgnaistion/emp?function=directAccess&action=displayname="Munna_90" (user entered details) After clicked on submit button it has to redirect me to the full deials page of …

Member Avatar for munna_90
0
153
Member Avatar for vlowe

hi, i am trying to filter my gps history points. i would like to ignore points if they are too close to the previous position. i can do this like so. [CODE]$old_lat = $old_long = "0"; foreach($history['data'] as $record) { //calculate distance in meters $distance = distance($record['latitude'], $record['longitude'], $old_lat, $old_long, …

0
121
Member Avatar for paresh_thummar

Hi friends I am learning GOOGLE API I got error : Invalid Signature Here my code Any body have idea And thx in Advance [CODE] function GetRequestToken() { $consumer = 'MY_CONSUMER KEY'; $secret = 'MY_COSUMER_SECRETE'; $callback = 'http://localhost/Gcontacts/welcome/redirection'; $sign_method = 'HMAC-SHA1'; $version = '1.0'; $scope = 'https://www.google.com/m8/feeds/'; $path = "/accounts/OAuthGetRequestToken"; …

Member Avatar for paresh_thummar
0
267
Member Avatar for ivanichi

we can actually use number_format, but I want results that are not rounded, so I use function. i want to change a. 1000 >> Rp 1.000,- b. 10000 >> Rp 10.000,- c. 100000 >> Rp 100.000,- d. 240857.5 >> Rp. 240.857,5 and then i create function for it, a, b …

0
62
Member Avatar for amanu092

How can I integrate bluepay payment method API with joomla?Is there any one to help me please? Thanks

Member Avatar for chrishea
0
197
Member Avatar for IanArcher

I am trying to write a php script that will take find the path of a webpage or a url, and convert the css from the server or local folder to inline code. I've looked pretty much all over the internet and looked for many solutions that could help me …

Member Avatar for pritaeas
0
576
Member Avatar for xtra333

Hello Daniweb posters. I have a code that is supposed to make a sign up sheet for a web page. Problem is, the code does not work. When I run the code it gives me: syntax error, unexpected T_PRINT in line 15. I know there is something wrong with the …

Member Avatar for xtra333
0
207
Member Avatar for InfernalEternal

I'm modifying a page that handles content addition. I've been tasked with allowing simple PDF file uploads, but can't figure it out. The PDF is to be posted, then uploaded and the title saved into a database field. All this functionality is to be contained within the one content addition …

Member Avatar for phoenix_2000
0
130
Member Avatar for garymae14

hi there! i would like to ask if what am i going to do to save in having multitasking function . here's my code below: can u suggest what to do wih this thing ? thanks <?php $server = 'localhost'; $user = 'root'; $password = ''; $database = 'access'; $con …

Member Avatar for phoenix_2000
0
91
Member Avatar for globalaction

(If you are familiar with Memcached, better) can take a look at the img. on the third column (named 'Value'), I need to put a 'button/link' that when clicked it will display/hide the content of the cell. In a sort of javascript 'toggle' function. (i'm not sure which to use: …

Member Avatar for phoenix_2000
0
382

The End.