39,402 Topics

Member Avatar for
Member Avatar for saikishore
Member Avatar for odysseous

I have a parsng string problem. I have to parse a string according to [[ ]]characters . and i have write to screen string part that not contains [[ ]] characters.

Member Avatar for ShawnCplus
0
71
Member Avatar for Shreyasi

Any one please tell me what is [B]undefined constant [/B] in PHP Like: Key_my_site, ID_my_site etc. And what is [B]get_magic_quotes_gpc()[/B].Why and where it is used?

0
51
Member Avatar for skymuss

Hi daniweb users My name is luc. I'm from Germany. Before I have started with Python I used PHP. There you have the funktion [B]urldecode[/B] to decode a url string or [B]urlencode[/B] to encode a url string. I don't really know I a function like that in python. can you …

Member Avatar for Gribouillis
0
323
Member Avatar for MDGM

Hi all, Im editting a whois script so when it returns the details of the whois search it returns one positive answer if the "loggedin" cookie is found, and another positive answer if it is not, and a negative one if the domain is taken. The whois script works fine …

Member Avatar for MDGM
0
193
Member Avatar for ishlux

Hi all, I have the code for uploading the file......but to store the uploaded file in database and how to retrieve the uploaded file...... i want the code and logic Thanks in advance

Member Avatar for Shanti C
0
83
Member Avatar for psathish2

How upload file to mysql db in server and show to link in next page the uploaded files ..

Member Avatar for shadow_kira
0
118
Member Avatar for ochien

hi guys, i make some function in vb6 and then i'm complie this to dll, can php read and use function in this dll ??? thanks before :D

0
57
Member Avatar for knrakesh

hii, can anyone please see the doc in this the del is not working pleaseeeeeeeeeeeeeeee Rakesh Nagekar

Member Avatar for Shanti C
0
85
Member Avatar for nikolai.aas

Hi I'm looking for a piece of code that can turn a sql string into an array. Here is an example: [icode]sqlStr = "SELECT p.id FROM products p WHERE ((p.name = 'im a name' AND p.name2="another name") OR (p.name='always with')) [/icode] So that i in this array quickly could add …

Member Avatar for Shanti C
0
104
Member Avatar for Tony0930

I am almost done developing this e-commerce site and my client just asked me to add a shopping cart. I have some templates, but I want to start from scratch, is there a specific way of starting to do it? What should I consider when building a shopping cart?

Member Avatar for Shanti C
0
111
Member Avatar for god_1896

hi all; I' am using the encoding type utf8- and its works on the firefox. but when i run my index on the IE 6 and IE 7 it does not detect the utf8. what seems to the problem of this? Can put the type of encoding so that my …

Member Avatar for god_1896
0
97
Member Avatar for ramseswar

[code=php]$getm="SELECT player FROM manutd WHERE player='$x'"; $get=$mysqli->query($getm,MYSQLI_USE_RESULT); while($row=$get->fetch_object()) { $name=$row->player; } [/code] is there anything wrong with this code.........................plz help

Member Avatar for ramseswar
0
241
Member Avatar for nzaman

Assign values to two variables. Use comparison operators to test the first value is: *The same as the second *Less than the second *Greater than the second *Less than or equal to the second Would really appreciate it if some one could do this for me cheers!

Member Avatar for Shanti C
0
67
Member Avatar for PomonaGrange

Hi All, I have been trying to create a php page that will upload a image, create a thumbnai and process a sql query, all automatically. I have attached the two files. The form page (show-addrecord2.php) and the processing page (do_addrecord2.php). The sql statement works fine. I am just having …

Member Avatar for somedude3488
0
108
Member Avatar for asyieen

hi guys....actually i want to ask something.....how to make a step by step of form??? let say, there are about 5 form.....at the top of each form, there is just like a menu, a name of a form......let say, now, i'm at step 3 (upload file), then at the top …

Member Avatar for buddylee17
0
65
Member Avatar for charbel007

Hello Everybody In Php iam using the checkbox and it has been one month i can not solve it; when i select one checkbox from several ones , and i click send e-mail= it is sending to all e-mails; it is not sending to the selected checkbox ; I need …

Member Avatar for charbel007
0
800
Member Avatar for nzaman

Create a script that usesa while statement that increments through and prints every even number between 1 and 49. Can any one do that for me?!?

Member Avatar for veledrom
-1
70
Member Avatar for nzaman

Can any one please create a php script for me. A script that uses the if....else statement to categorise the marks of a student as First Class,Second Class Upper, Second Class Lower, Pass Or Fail.

Member Avatar for nzaman
0
112
Member Avatar for rezvi

hello everyone, i m new in php. i got a problem with my php and ajax code. i used div id to show data within html page (data retrieve from database).it's working well.but now i need to put showing value inside a input box. how to do that. can any …

Member Avatar for Shanti C
0
47
Member Avatar for nzaman

can some one please help me! Can any one please answer the following question for me. Describe the circumstances when technologies such as Active Server Pages, PHP, JavaScript, JavaApplets and XML are required?!? I dnt have a clue and i gta hand in my assignment by 5 oclock sum 1 …

Member Avatar for Shanti C
0
74
Member Avatar for saikishore

hey, can some body help me with the CP web hosting services for windows in php...??? Control panel containing [B]site management[/B] consisting of hosted domains, domain manager, FTP manager, file manager, and [B]E-mail options[/B] consisting of E-mail manager, webmail, e-mail fwding.

Member Avatar for saikishore
0
102
Member Avatar for rmk93

Dear web developer, I am trying to understand why php developers adopt a particular approach when designing their web systems. I have devised a questionnaire located at [url]http://websurvey.here.ws[/url] that takes 10-15 mins of your time. I would really appreciate you completing the questionnaire and sending the URL to any web …

0
45
Member Avatar for veledrom

Hi, I'll create a Login.php page to check uid and password and let user login to the system. Now, do i check uid and password in same Login.php or i post uid and password to next page to be checked there? What is the best way? Thanks

Member Avatar for veledrom
0
118
Member Avatar for abs0lut01

[code]<?php session_start(); include 'config.php'; $post = $_GET['post']; $slected = array(); if(isset($_POST['checkb'])){ if(count($_POST['sa']) > 0){ $do2 = mysql_query("UPDATE ptable SET status='updated' WHERE id='$post'") or die(mysql_error()); if($do2){ echo 'updated'; } foreach($_POST['sa'] as $awrd) { $result = mysql_query("UPDATE ctable SET awarded='yes' WHERE id='$awrd'") or die(mysql_error()); $slected[] = $awrd; if($result){ echo 'awarded'.$usersid; } } …

Member Avatar for Shanti C
0
156
Member Avatar for god_1896

hi all; I have a problem in diplaying the city name. pleas cheack the line of this code. [QUOTE][CODE]$result=city::getDisplayName('$id'); echo $result;[/CODE][/QUOTE]

Member Avatar for Shanti C
0
61
Member Avatar for kheikhei
Member Avatar for Shanti C
0
76
Member Avatar for justinmyoung

I'm just looking to set up a simple registration form for my website, and was wondering if anyone could recommend a fairly straightforward tutorial... Thanks

Member Avatar for Shanti C
-1
253
Member Avatar for saikishore

Hey, i need a help from u... when ever one of my users registered into my website,,,,then automaticaly conformation mail send to users email... plz send me asap....its urgent...

Member Avatar for Shanti C
0
78
Member Avatar for asyieen

i want coding for upload function...actually, i want to make upload function in my system....who can help me.....plzzz anyone give me the code for upload file into system...thanks

Member Avatar for nav33n
0
77
Member Avatar for 2eXtreme

Hey Guys, I was hoping someone could tell me how to run server side code to process a file? Basically, I want users to upload a file to my site, and once the file is uploaded, I want server side code (I'm thinking PHP) to process the file. Also, I …

Member Avatar for lordspace
0
125
Member Avatar for Scottmandoo

Can anyone tell me why this code isnt working? [CODE=php]<?php $username = $password = $database = $email23 = $_POST['email']; $con = mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $sql = "SELECT * FROM `user_user` WHERE `email` = '$email23'"; $query = mysql_query($sql) or die('Error: ' . mysql_error()); $r = mysql_fetch_row($query); …

Member Avatar for Scottmandoo
0
286
Member Avatar for veledrom

Hi, I get this error on red coloured line. "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\.....". I use PHP 5.25, MySQL 5.51. [code] $sql="SELECT * FROM customer"; $run = mysql_query($sql); [COLOR="Red"] if (mysql_num_rows($run) > 0) {[/COLOR] .... } [/code] When there is record it …

Member Avatar for lordspace
0
165
Member Avatar for panamaquono

I am building a website for a recording studio - initially I anticipated having to embed some audio in the page that would stay playing through the whole site, I built an index/home page and used one of these deals: [code] <?php switch ($_GET["id"]) { case home: $id = "home"; …

Member Avatar for panamaquono
0
84
Member Avatar for netnuta

Hi there all! I do not have a great knowledge of php but I do know basic html. I have a javascript popunder script that I would like to try on my site that runs on a php script. I know how to insert this script into an html page …

Member Avatar for netnuta
0
95
Member Avatar for tanha

I had installed php 5... and then I installed the IIS on windows XP and it works well with ASP, BUT not for PHP, see BELOW: Now when I drop a php file in C:\Inetpub\wwwroot and open in browser nothing happens just a blank page, it seems the php is …

0
56
Member Avatar for subratcall

Hi, I am a new bee in PHP , I have a asignment to write a online polling script. Can u please help me get the script to refer and write a fresh code as per my requirement

Member Avatar for subratcall
0
64
Member Avatar for ike185

Me and my team are using yellow duck framework to build a dynamic site with a backend database. Does anyone know of any tool to help speed up the process of validating the html page that the php spits out? Locating these errors is time consuming and we have been …

0
95
Member Avatar for Jean Gwyneth

Hi! Im creating a search engine for products. it can search by category, model_no and so on.. when i searched for multimedia, it would return lists of products under multimedia. every result should be clickable and would display info for each product. problem is, how can i pass the value …

Member Avatar for Jean Gwyneth
0
129
Member Avatar for ishlux

Hi, here is the code for page navigation, its working fine but , if there are 4 pages , each page is displaying 3 records per page, if we go to 3rd page, and click on the subject it will display the contents but it will automatically come to the …

Member Avatar for vicky_rawat
0
126
Member Avatar for MDGM

Hi all, I have a registration form on my website which once filled in, it sends an email to the user with a link to "verify their email address". This link holds all of the information entered by the user in the form and looks something like this: [url]http://www.example.com/confirm.php?firstname=john&lastname=smith[/url] When …

Member Avatar for MDGM
0
169
Member Avatar for prashanth18
Member Avatar for Papa Awortwe

Hi to everyone, Please i would be grateful if you help me with this. This is a tutorial i am practising .When i create a session variable on a page , I find it difficult to show it on another page. Please check also to see whether the scripts are …

Member Avatar for Shanti C
0
92
Member Avatar for missaaliyah

Well my site is a music lyrics site, and included an option to embed youtube videos with each lyric added. It came with one lyrics, which you can see here. On the left of this page, the youtube video fits in a box. [url]http://music-and-lyrics.info/index.php?lyric_id=1[/url] Now I added a new lyric …

Member Avatar for missaaliyah
0
196
Member Avatar for grr

I want to store a function in a MySQL Database. Like this: [code=php] <?php $query = "SELECT * FROM items WHERE item_id='$_GET['item_id']'"; $item = mysql_fetch_assoc(mysql_query($query)); $action = $item['action']; $action; ?> [/code] So in the database, $item['action'] is header('Location:blah.html'); But it could be ANY function, see. I just want to know …

Member Avatar for grr
0
144
Member Avatar for DrWhoFan

I've run the install for PHP 5.2.6 and been able to have PHP pages run successfully. My research has told me that PHP no longer includes the dll needed to connect to mySQL. I've run into a couple of problems on my system. [LIST=1] [*]Using phpinfo(), I can identify the …

Member Avatar for DrWhoFan
0
130
Member Avatar for prayingmantis

I just moved hosting providers for my website and there is one page that is not working properly. The old provider had MySQL Server 5.0.51a and PHP 5 so I setup the new server with MySQL Server 5.0.51a-Community and PHP 5. After the site move, I get the following error: …

Member Avatar for lordspace
0
98
Member Avatar for missaaliyah

As far as I know, I have successfully completed all config files so the site should load, but for some reason, the site doesn't. Here is the error message I get instead. [CODE]array(3) { [0]=> array(4) { ["file"]=> string(74) "/home/imedia/public_html/music-and-lyrics.info/functions/main.function.php" ["line"]=> int(10) ["function"]=> string(10) "mysqlQuery" ["args"]=> array(1) { [0]=> &string(20) …

Member Avatar for missaaliyah
0
113
Member Avatar for nodoid

Hi, I've got a small problem here in replacing html for bb. I can go bb to html really easily (see the code below), but when I go the other way, I get the same text returned as when I put it in [code] if ($tobb == 0) { $search …

Member Avatar for lordspace
0
352
Member Avatar for methew45

hellow guys.. i have been onto one site which is embedding videos from zshare.net servers the problem with zshare embedding is that it the file path keep on changing each time you visit the link an example is Code: [url]http://www.zshare.net/video/39062271789b05[/url] this link.. when u goto this link.. and check the …

0
50

The End.