39,316 Topics

Member Avatar for
Member Avatar for kasakit

Hi sir's outthere,i need youre help...Please i need to strip the html tag in my record in my mysql database here's how it look in my database CITY Country ADELAIDE | AUSTRALIA</td></tr></tbody></table></div><div style="clear:both; paddi hope somebody know how to strip this tag. i try $country2a = strip_tags($cntry); but it didnt …

Member Avatar for metalix
0
786
Member Avatar for dwssassin

[CODE]$hour = $_POST['hour']; $minute = $_POST['minute']; $ampm = $_POST['ampm']; $tz = $_POST['tz']; $ftz = "America/New_York"; if($ampm == 'PM') { $hour = $hour + 12; } $temptime = strtotime("$hour" . ":". "$minute" . ":" . "00"); $tempdate = date('Y-m-d', strtotime('+1 month')); $tempval = $tempdate . " " . $temptime; $nextalert = …

Member Avatar for dwssassin
0
106
Member Avatar for atrueresistance

I'm trying to connect and can. The code fails at the select database. I have created the Tools database already. The table is an exact clone of the mysql counterpart that is currently working. Any Suggestions? [CODE]<?php $dbuser="yukon"; $dbpass="yukon"; $dbname="Tools"; //the name of the database $chandle = odbc_connect("sqlserver", $dbuser, $dbpass) …

Member Avatar for atrueresistance
0
140
Member Avatar for andy106

Hi How can I rewrite the following to get it to work: <?php if ($_product->getsub()) { echo '[COLOR="Red"]<a href="ref="http://test.com/-<?php echo $this->htmlEscape($_product->getData('key_code')); ?>.html">[/COLOR]<li style="width:120px; margin-left:auto; margin-right:auto; margin-top:20px;" class="nav-rsvp-package">subscribe</li> the problem is that i have [COLOR="Red"]<?php echo $this->htmlEscape($_product->getData('key_code')); ?>.html">[/COLOR] inside another [I]<?php[/I] snippet. I already tried: [CODE] <a href="ref="http://test.com/-<?php echo $this->htmlEscape($_product->getData('key_code')); ?>.html"> …

Member Avatar for andy106
0
223
Member Avatar for panhwer

Does php support video conferencing...I i am working on an online telemedicine system..i want to make this project in php..but main theme of this project is video conferencing..so plz tell me does php have any facility to video conferencing..

Member Avatar for panhwer
0
119
Member Avatar for raju_boini525

hi all, i am uploading bmp image. it is uploaded but my problem is it is not croping. i am getting this error [CODE]Warning: imagecreatefromwbmp() [function.imagecreatefromwbmp]: 'products_image/76525Linksys SPA921 IP Phone.bmp' is not a valid WBMP file in C:\wamp\www\touchintelligence\admin\products.php on line 107 Warning: imagecopyresampled(): supplied argument is not a valid Image …

Member Avatar for sDJh
0
75
Member Avatar for Ajivani

I'm sure this is the height of stupid, but I'm at my wit's end. I have made a shopping cart located at the following website: [URL="http://abqcustomweb.com/packages.html"]http://abqcustomweb.com/packages.html[/URL] If you add any of those packages to the cart in Firefox, the customer can check out. If you try it in IE, you …

Member Avatar for sDJh
0
79
Member Avatar for qariella

Please help me, I dont know how to fix this problem, been sitting with it for days... [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>telefonbok</title> </head> <body> <?php//DATABASEN mysql_connect('localhost', 'xxxxx', 'xxxxxx') or die (mysql_error()); mysql_select_db('sanstr09') or die(mysql_error()); if(isset($_POST['save'])) { header("Location: index.php"); //Informationen från Index.php $fnamn = …

Member Avatar for syamsasi
0
337
Member Avatar for nadskap2

Hey there DaniWeb. I've got some problems with a website i made ([url]http://bstagdaekning.dk[/url]) Look at this page: [url]http://bstagdaekning.dk/?p=14[/url] i need it to retrieve Æ, Ø and Å on every part of the page :( anybody can help?

Member Avatar for rajarajan2017
0
107
Member Avatar for vibhaJ

I have one website name e.g. [url]www.mydomain.com[/url] Now i want to configure smtp setting in my local pc. Below is the phpini code i have set. Here i have not used any username and password. [CODE] [mail function] ; For Win32 only. SMTP = mail.mydomain.com smtp_port = 25 [/CODE] And …

Member Avatar for rajarajan2017
0
139
Member Avatar for backendcode

Hello friends, How you doing. I need your help. I create a login form. But when i enter a password. its not case-sensitive. If i enter password abc or ABC it show me secure page. but i want password should be case-sensitive. Thanx.

Member Avatar for rajarajan2017
0
195
Member Avatar for whiteyoh

Hi all, I'm building a questionnaire and would like to know how i can get a selected option to stay selected after clicking submit. thanks paul

Member Avatar for vibhaJ
0
109
Member Avatar for deepucando

Hi i am trying to design a social networking site for my project. i have to design the database for the social networking with user profile and friends contact list as like facebook and orkut. can anyone help me to implement the database design with fast and accuracy retrieval of …

Member Avatar for metalix
0
98
Member Avatar for deepucando

Hi I want to create a database that can store the friends contact list as like social networking what is the best way to design the database structure and easy to retrieve the contacts of friends using mysql. i need solution for this, HELP ME regards ~Deepu~

Member Avatar for metalix
0
89
Member Avatar for xofth

I am using the code below to insert the username and password to keep thi id and password record i want the change that if the id and password exist it replace the id and password in the database [CODE]$username=$_POST['login']; $password=$_POST['passwd']; $con=mysql_connect('localhost','root',''); //establishing connection with server mysql_select_db("sql", $con); //selecting DataBase …

Member Avatar for rajarajan2017
0
59
Member Avatar for MooGeek

Hi guys!! I'm currently developing an opensource CMS. but I've noticed that lots of Pro Programmers use Linked List. and of course if I want to make a opensource CMS I want to code it Professional way. that's why I've decided to use Linked List instead. the problem is I …

Member Avatar for rajarajan2017
0
143
Member Avatar for dwssassin

[CODE]$day = date("Y-m-d", strtotime('+1 month', time())) . " " . "$hour" . ":". "$minute" . ":" . "00" . "$ampm"; $day->setTimezone(new DateTimeZone('$ftz'));[/CODE] I have a user enter a time and I want to generate a $day one month ahead of the day the script was called at the time entered …

Member Avatar for metalix
0
1K
Member Avatar for jaycastr

Hello all I have a page in php that INSERTs data in a database via a query. My problem is that when you refresh the page the data is INSERTed again. How can I stop this. Thanks in advance

Member Avatar for metalix
0
106
Member Avatar for Brims

Im having problems with this script. Right now it adds everthing to the database if I take this out [php] <p><b>Genre:</b> <p><input type="radio" name="genre" value="existing" /> Existing => <select name="existing"> <option>Select One</option> <?php // Retrieve all the artists and add to the pull-down menu. $query = "SELECT genre_id, (genre_name) AS …

Member Avatar for metalix
0
159
Member Avatar for ello

I have some code which echo's a paragraph from a database, but is there anyway to make the paragraph have a title by calling the same Field? I've had a look for formating text which is being echoed, but I'm not sure how to go about having a title one …

Member Avatar for metalix
0
95
Member Avatar for mayursharma

i want to transfer one variable value from my php page to aspx page... what is the procedure.... plezz help me...my project is getting delayed becozz of this .

Member Avatar for ApocDen
0
64
Member Avatar for peck3277

Hi Guys, I am using PHP to zip some files and off them as a download. I am first zipping the files then using a redirect to the location of the zip folder to download. So basically I have in my code: function to zip files redirect What I want …

Member Avatar for ApocDen
0
181
Member Avatar for AndrewDBrown

I am just starting to play with PHP (and this is my first post). I need to send out an invitation via email to some of our clients. This email will contain a hyperlink along with a unique reference ID for each client, something like this: [url]www.oursite.com/invitation.php?ID=ABC123[/url] I need to …

Member Avatar for AndrewDBrown
0
131
Member Avatar for farhan386

I have a string contains sequences of 0 and 1. I need to replace all zero sequences whose length less than 5, into number 1 with same length. The zero sequences with length 5 or more should be left as is. For example source : 11000001100010011000001 result : 11000001111111111000001 [CODE] …

Member Avatar for farhan386
0
172
Member Avatar for iWalletMobile

I am getting this error in my script. The error is in the bolded line of the script. Can anyone help? [CODE]<?php if($_REQUEST['app_id']) { $app_id=$_REQUEST['app_id']; } else { $app_id=$_POST['fb_sig_app_id']; } $referral_rate=$referral_cut/100; $con=mysql_connect($sql_location,$sql_username,$sql_password); mysql_select_db($sql_database, $con); $ref=$_REQUEST['ref']; $item_id=$_REQUEST['item_id']; $referral_id=$_REQUEST['referral']; $current_time=time(); $ajax_timeout=$ajax_timeout*1000; if($_REQUEST['action']=="new") { $referral_id=100000120560309; } if($user_id) { $public_info=$facebook->api_client->application_getPublicInfo($app_id); $dev_count=count($public_info['developers']); $dev_array=array(); if($dev_count>0) { …

Member Avatar for chrishea
0
288
Member Avatar for HotRodU2

[CODE] <table id="items"> <tr> <th>Item #</th> <th>Description</th> <th>Unit Cost</th> <th>Quantity</th> <th>Price</th> </tr> <tr> <td><center><input type="text" name="itemNum1" maxlength="20" size="20"/></center></td> <td><textarea onkeypress="return imposeMaxLength(this, 65);"></textarea></td> <td><input type="text" name="cost1" class="cost"/></td> <td><input type="text" name="qty1" class="qty"/></td> <td><input type="text" name="price1" class="price1" onclick="this.value=compute20();" value=""/></td> </tr> <tr> <td><center><input type="text" name="itemNum" maxlength="20" size="20"/></center></td> <td><textarea onkeypress="return imposeMaxLength(this, 65);"></textarea></td> <td><input type="text" name="cost2" …

Member Avatar for HotRodU2
0
105
Member Avatar for DeadLikeMe

Hi, i have a problem with this code. I wanted to add the values of the parameters at the beginning to the URL entered in the code. i already tried confirmation.php?username=$username added the ?username=$_GET[username] but the Url in the browser is displayed like it's written in the php file and …

Member Avatar for DeadLikeMe
0
189
Member Avatar for seularts

I stumbled on this code by accident and used it on one of my scripts, but it has a 'flaw', I can't make it include empty folders in the backup zip filer, nor make it to force download it after the creation of the zip. Any suggestions!? [code] <?php // …

Member Avatar for seularts
0
123
Member Avatar for Mujahid158

I'm coding my own blog which is almost completing. I'm facing a problem on one thing. How can I insert comma separated tags in mysql table? I want to insert every comma separated tag as the new entry in the table. I would be thankful if anyone will help me …

Member Avatar for metalix
0
145
Member Avatar for Rizzuti

I was wondering if you guys can help me with this! I'm trying to display data on the items_Deltails.php page from classifieds1.php page using $_GET. I'm able display all data from [B]items[/B] table without any problem, however when i try to display the field pix from the [B]images[/B] table it …

Member Avatar for Rizzuti
0
147

The End.