39,320 Topics

Member Avatar for
Member Avatar for malatamil

below this link i have a ratting thing. in this its working but here update and disply part. http://www.namshimoga.com/searchdetails.php?idval=399&maincatid=147&maincateg=Testingmp#details in another page http://www.namshimoga.com/searchbycat.php?catagory=Testingmp&maincateg=Testingmp&maincatid=147 i want to display only final rating without updation. its my display part <div class='headstar'> Rate It ! <ul class='star-rating'> <li class='current-rating' id='current-rating'><!-- will show current rating …

0
148
Member Avatar for nan01

Hi. I am creating a database where a user can store up to 50 names of their family members. I have two table structures in mind and curious which one is the more efficient structure for using with php. ==================================================================================================== TABLE A: userid-firstfamilymemberid-firstfamilymembername-secondfamilymemberid-secondfamilymembername Note:(the columns would repeated until the fiftiethfamilymemberid …

Member Avatar for nan01
1
270
Member Avatar for oskido2010

Hi Guys I am trying to display friends of a logged in user for my website, the user(person1 is friends with person2 and I would like this to display when either person1 or person2 log in( this should be under the hyperlink) Friends. and also to be able to see …

Member Avatar for diafol
0
234
Member Avatar for iamthwee

So what are your thoughts. I've recently been looking at things like expression engine, http://buildwithcraft.com http://statamic.com and http://modx.com Purely because, writing my own CMS from scratch is one helluva ballache. The above sites look appealing because they afford enough flexibility to write a CMS to control pages using templating in …

Member Avatar for diafol
0
148
Member Avatar for davy_yg

Hallo, How to decrypt md5 password? I have a password stored in mysql in md5 then would like to retrieve it and decrypt it. How to do so? Thanks in advance.

Member Avatar for diafol
0
394
Member Avatar for pspwxp fan

Hi Daniweb, I have a checkbox that is dynamically generated using php using inputs on previous pages. <form name=partselect action="JavaScript:checkmate()" method="post"> <table> <?php while(oci_fetch($stmtgp)){ $idpart = oci_result($stmtgp, "PART_ID"); $stmtparts = oci_parse($conn, "select * from PARTS where PARTID='".$idpart."'"); $execparts = oci_execute($stmtparts); if(!$execparts){ echo 'unable to fetch part'; } oci_fetch($stmtparts); $tpartcost = …

Member Avatar for iamthwee
0
378
Member Avatar for PankajSanam

Hello everyone! This is Pankaj from India. I'm a PHP Developer. Right now I'm working in Jaipur as a PHPfox Developer. I joined this community to explore the world of knowledge. It's always good to learn things and eventually make friends out of it.

Member Avatar for happygeek
0
94
Member Avatar for Nigam_1

I am creating a website wherein Admin is supposed to create a Form and the other users are supposed to fill it and submit it. My main goal is to the give the Admin user a webpage where he will type the question , select the type of answer to …

Member Avatar for iamthwee
0
475
Member Avatar for aquilina

i have problem with my index id for class_student.php.. i not sure where it missing smth.. kindly look it for me. there is an error with index id at line 3 which mean $get_id = $_GET['id']; <?php include ('session.php'); ?> <?php $get_id = $_GET['id']; include('header.php'); $user_query = mysql_query("select * from …

Member Avatar for aquilina
0
865
Member Avatar for Matthew34

Hi, Anyone can explain what is ion cube loader? and how it works for encryption and decryption? Thanks in advance..

Member Avatar for diafol
0
350
Member Avatar for dhani09

I'm trying to do a username availability check on my website, i.e during registration, it checks if a username is taken or still available. However when i execute i get no result at all,nothing happens. My code: **Registration page** ***register.php**: * //this form posts to the same script. //In this …

Member Avatar for iamthwee
1
481
Member Avatar for zein1212

i'm new learn php and mysql and i got stuck can't get better logic for my brain i want to get message from page if i type url like **index.php?user=user1** and page will show with data table and if username doesn't exist and page show no username found so this …

Member Avatar for zein1212
0
529
Member Avatar for mattster

Dear All, This must be a very common problem, but yet nowhere on the internet wishes to display a working answer. I am in a sticky situation. I have the following .htaccess file on my local webserver: http://localhost/testsite/.htaccess DirectoryIndex home.php?view=home RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} …

Member Avatar for mattster
0
351
Member Avatar for malatamil

any one know about star rating with updation for particular (i.e)product,etc.. if you have any sample code share with me

Member Avatar for diafol
0
88
Member Avatar for malatamil

before that i upload values using implode(),after that i need display that array values. below this code showing array values as in single variable.[Click Here](http://www.namshimoga.com/searchbycat.php?catagory=Health+%26+Fitness&maincateg=Health+%26+Fitness&maincatid=151&city=$city) see that page i added 5 categories but it displayed in single variable, i want to separate it, becaz that ids are different category:Pediatrician,ayurveda,skin Care,optical,yoga, …

Member Avatar for malatamil
0
257
Member Avatar for priyankaa121

I m new to php..I have page in which the user as to enter a number and when clicked on submit the page as to redirect to the entered number in the first form. all the details of that number as to be displayed for updating it. How can I …

Member Avatar for priyankaa121
0
282
Member Avatar for arg89

I am running apache 2.0 and php5.4.4 and have MS SQL database set as the DSN. I am able to run the SQL queries via OBDC, but the php code will not execute to extracting multiple rows of data from the database. I can't figure out what is going on …

0
321
Member Avatar for malatamil

i need to show the array values separate $ids = array(12,13,14); $ids1 = explode(",", $ids); echo $ids1; if i run this it shows array

Member Avatar for malatamil
0
135
Member Avatar for kishan699

hello world, myself kishan kumar, iam new to web developing...my task is interrelated to edit,save & cancel....which is similar to edit button in shine.com...Iam doing in php language.the work is when user clicks on edit button he must be able to edit and after on editing he can save it …

Member Avatar for kishan699
0
298
Member Avatar for SimonIoa

i have a problem with php. I write the following code and it returns blank <?php $query = mysql_query("SELECT * FROM users"); $result = $database->sql_query($query); while ($dr = $database->sql_fetchrow($result)) { echo $dr['uid']; } $database->sql_freeresult($result) ?> i call this include_once 'includes/db.php'; and on db.php. $database = mysql_select_db(DB_DATABASE) or die(mysql_error());

Member Avatar for diafol
0
336
Member Avatar for dqtuan94

I guys I want to build a marketplace for tutors where they can upload their profile and information. Students who want to study a tutor can go there and find a suitable one. It will look very similar to this http://www.championtutor.com/view-tutor-singapore.html I do not have any background in IT or …

Member Avatar for diafol
0
392
Member Avatar for stokie-rich

Hi guys hope your all well, I want to put a quiz into my website that I'm doing. I've found some code for a Multiple Choice-True False Quiz Here is the code, (yes I know its long and there are some reputation in it) You have to add questions by …

Member Avatar for mattster
2
3K
Member Avatar for malatamil
Member Avatar for malatamil
0
288
Member Avatar for veedeoo

Hello Everyone, I wrote this script way back in 2008 as Version1. However, I was forced to forget about this, because it was criticized by many developers with BS, MS, and "Seasoned PHP Developer" under their names. During those days, I couldn't stand up for my own reasons, because I …

Member Avatar for veedeoo
2
2K
Member Avatar for websponge

In the process of converting an old web application I did from MYSQL to MYSQLi and am a bit lost with echoing a result, This code works in the old app with Mysql: <textarea name="dump" style="width:300px; height:400px;"> <?php include ("../connect.php"); $content = mysql_query("SELECT $field FROM customer WHERE cusid = '$cusid'") …

Member Avatar for websponge
0
330
Member Avatar for ditty

Hi I am sending mail using phpmailer. but when i tried to send mail it shows the error SMTP -> ERROR: MAIL not accepted from server: 530 5.7.1 Client was not authenticated The following From address failed: mail@example.com Mailer Error: The following From address failed: mail@example.com SMTP server error: 5.7.1 …

Member Avatar for pritaeas
0
307
Member Avatar for navenchary

Hi, I m new to ajax. I have to implemented the ajax autocomplete in my code.When I press any alphabet say suppose "a", I should get all names starting with "a" say arman,anoop,anju etc one below other. now when i select one of them say 'arman' the text box will …

Member Avatar for kaushal_1
0
413
Member Avatar for everton.retweets

I am trying to edit the following script to generate a unique time between 00:00:01 and 01:30:00 Using the following script. $start = new Datetime('00:00:01'); $end = new Datetime('01:30:00'); $randomTime = function (DateTime $start, DateTime $end, $resolution = 1) { if ($resolution instanceof DateInterval) { $interval = $resolution; $resolution = …

Member Avatar for pritaeas
0
210
Member Avatar for Szabi Zsoldos

Hey guys, Having some difficulties understanding why my OR || operator is not working... First part is BOOLEAN and it is working Second part is STRING and it is working, it returns the desired value What could it be ? <?php if(($oferte->isOrdered($oferte->CleanSapStyleNumbers($oferta->VBELN)) == false) || ($oferte->OfertaValida($oferte->CleanSapStyleNumbers($oferta->VBELN))->valabilitate == "VALABILA")): ?> some …

Member Avatar for minitauros
0
204
Member Avatar for dinhunzvi

i have created this smarty plugin but i'm getting an error message whenever i try to use it. <?php function smarty_modifier_prepare_link( $string, $link_type = 'http' ) { // use SSL if ( $link_type == 'http' && USE_SSL = 'no' ) $link_type = 'http'; switch( $link_type ) { case 'http' : …

Member Avatar for pritaeas
0
367

The End.