39,323 Topics

Member Avatar for
Member Avatar for Pado

Hello everyone: I'm a bit frustrated because I'm getting an error on one website but not on another one for the same web page. This tells me there's something different about the PHP settings that is different, but I'm not sure where to begin. This is the error I get: …

Member Avatar for leviathan185
0
302
Member Avatar for chknabeel

I m having problem in using the php array values in javascript. I m not very good in javascript so i need a support from u.. [icode] $pr[]=array(date('y/m/d',strtotime($rev_date)),$w_s['status_percent']); [/icode] this is the php array i m using. I need to use its values in the following javascript code [CODE] <script …

Member Avatar for chknabeel
0
148
Member Avatar for gagan22

Hi all, I have made 2 drop down box naming client, project . All values in this drop down box are coming from database. I am fetching all value through sql query. First drop down box is showing all client which are in database. Second drop down box is also …

Member Avatar for gagan22
0
133
Member Avatar for mohiit

Hi, Can anyone know about what changes to be done to create customized breadcrumb link like daniweb site in custom page of VBulletin.

0
51
Member Avatar for arosemena

for example, the blogs, how they divide the entries in pages? i have kinda of a idea like if ur on page 2 and ur blog shows 5 post per page the $row=mysql_fetch_assoc would execute 5 times before starting to post, thats the only way i can think about, is …

Member Avatar for Tulsa
0
75
Member Avatar for newbiecoder

Hi all, I decided to learn PHP, I am an Ubuntu user, I installed, php5, mysql, apache2.2 and phpmyadmin. But I don't know where to put the files to see them on my web browser, when I write [CODE]http://localhost/phpMyAdmin/[/CODE] I get [CODE]Not Found The requested URL /phpMyAdmin/ was not found …

Member Avatar for Tulsa
0
125
Member Avatar for sarithak

Hi frnds.. this query having a small error at where condition....plz solve this.. [CODE] $sql="insert into customer (sizeindustry) values ('$sindustry') where (sno = '$sno')"; echo $sql; mysql_query($sql)or die(mysql_error()); [/CODE] $sql= insert into customer (sizeindustry) values ('Small') where (sno = '4') error: You have an error in your SQL syntax; check …

Member Avatar for sarithak
0
75
Member Avatar for leviathan185

Hi, I was wondering if there was another way to redirect a user to an other page other that the header("Location: URL") function. My problem is that I am itterating through a buch of if statements and if i use the header function it gives me an error as the …

Member Avatar for leviathan185
0
136
Member Avatar for leviathan185

Hi. I am having problems getting PHP to insert data into a MYSQL data base. I am using the following variations of syntax. [code=php] mysql_query("INSERT INTO table member VALUES ('$var1', '$var2', '$var3')") or die("couldn't add new user"); [/code] and also with session variables as well [code=php] mysql_query("INSERT INTO table member …

Member Avatar for leviathan185
0
1K
Member Avatar for sunilsinha

Hi all, I need to rotate image with transparent background. I am using PHP5.1 and GD2.1. I am creating a gif after rotation. Also tried to create png. but not getting transparent background. Also sometimes getting black background. can any one help on this. Thanks in advance

Member Avatar for beeerlover
0
138
Member Avatar for algo_man

Hi there, I'm searching for a tool that access a website and acting as a client. I need this tools to do, 1. browse a website. 2. login as a normal client. 3. doing some activities for a specific time I defined. 4. eventually, logout Can anyone tells me where …

Member Avatar for FlashCreations
0
77
Member Avatar for vikter

Hi All, Assist me on how to insert and retrieve images to an oracle database with ordimage data type. Any help will be highly appreciated.

0
52
Member Avatar for peter_budo

One of my friends is trying to follow [URL="http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_post_javafile_webserver.jsp"]Sony Ericsson tutorial [/URL]on HTTP document upload from mobile device through Java Microedition. Here is an HTML example. [code=html]<form action="http://myserver/post.php" enctype ="multipart/form-data" method="post"> <input type="file" name="uploadedfile"> <input type="submit"> </form>[/code] Here is the php file receiving the posted file. [code=php]//post.php <?php $target_path = …

Member Avatar for cwarn23
0
279
Member Avatar for mani11

how can i access my admin page with edit and delete buttons in (employers/jobseekers form)

Member Avatar for ithelp
0
97
Member Avatar for kris82009

Hi Everybody ,i have a problem with DateTime class,I am using DateTime class in my program it works fine in php 5.2.6 .but the version in my server is php 5.1.6 so is there any class to replace the same functionality.please check the code below and if u find any …

Member Avatar for danishbacker
0
126
Member Avatar for juanki09

ok so this is what im trying to do. this is a products page and the products diplay but i want to create a filter so if they want to view only the in this case tvs that are sony they use the from that is in the coding to …

Member Avatar for Fest3er
0
153
Member Avatar for csharplearner

Hi , I have a text field in a table and i would like to split it into pages for viewing pleasure. I know how to split it into set of pages if it is in rows. But i couldn't get clue how to split a lengthy text field into …

Member Avatar for sacarias40
0
253
Member Avatar for cs4monkey

Hi, I'm very new to php and i'm really struggling to work the following out. I have a link in one of my php pages [B]storeitems.php?cat=Foods&store=Yes[/B] that uses a recordset in the target page to display a list according to the above variables. How can I make my 1st variable …

Member Avatar for csharplearner
0
140
Member Avatar for iThaos

I was reading how having globals inside a method was not good. Something like this. [code=php] class one{ function one(){ return "Returned one"; } } $ones = new one; class two{ public $one; function two(){ $this->tree(); } function tree(){ global $ones; echo $ones->one(); } } $callme = new two; [/code] …

0
64
Member Avatar for veledrom

Hi, What is wrong with this sql? It fails in php but doesn't fail in phpmyadmin! Thanks [code] <?php $connection=mysql_connect("localhost", "root", ""); if(!$connection) { die('Could not connect: ' . mysql_error()); } else { mysql_select_db("test", $connection) or die('Could not select the table.'); $sql="BEGIN;\n"; $sql.="SET AUTOCOMMIT=0;\n"; $sql.="INSERT INTO table1 (id, name) values …

Member Avatar for veledrom
0
155
Member Avatar for jesse.rosato

Ok, I'm real new to php, so I'm sorry if this is a stupid question. I've started building a blog using php and mySql and I'm having problems with updating my posts. My update page loads fine (with ?id=x attached to the end of the url), but when I hit …

Member Avatar for nav33n
0
93
Member Avatar for Rakesh Nagekar

Hello guys, iam a new bie in webdevelopment. can u please help me in writing code to the payment gateway please Thanks in advance

Member Avatar for Shanti C
0
106
Member Avatar for nish123

hello frndz... . . i what to knw i their any method to hold the values of form after refreshing the page or gettin back again on same page..!!! . . for eg i create a form.. username frstname lastname...after submiting the form if username exits then it go back …

Member Avatar for nish123
0
2K
Member Avatar for Argo54325

Hello, I'm a total newb to PHP and am just clueless here. I'm just trying to show all the data in a table but i'm getting some errors with my current code i'm getting "No Database Selected" and before a warning saying that something was wrong with my while statement. …

Member Avatar for nish123
0
122
Member Avatar for bettina702

Hi, I want to update a specific field in my database. My database has only one row with one field in it. How do I overwrite that field? This is what I have at this point, but its not working: [CODE]mysql_query(UPDATE Table SET column = "$item" WHERE column = "1") …

Member Avatar for bettina702
0
1K
Member Avatar for charbel007

Dear Php Pro I have a small problem ; i cant echo the username in my script ;and i have tried all the echo and username is not being shown below my script i will put 2 files ;one is called login.php and the other is member.php; in member.php i …

Member Avatar for charbel007
0
132
Member Avatar for tanmoy_india

How to create a Rotating Image Frame with Navigation Menu like this: [URL="http://s3.amazonaws.com/satisfaction-production/s3_images/60603/MSPhotoNav_inline.jpg"]http://s3.amazonaws.com/satisfaction-production/s3_images/60603/MSPhotoNav_inline.jpg[/URL] from : [URL="http://www.marthastewart.com"]http://www.marthastewart.com[/URL] what is the code for creating image rotation like this?????plzzzzzzz

Member Avatar for ShawnCplus
0
58
Member Avatar for lamiv007

[CODE]<?php // This script and data application were generated by AppGini 4.3 // Download AppGini for free from http://www.bigprof.com/appgini/download/ include(dirname(__FILE__)."/defaultLang.php"); include(dirname(__FILE__)."/language.php"); include(dirname(__FILE__)."/lib.php"); include(dirname(__FILE__)."/tcg_dml.php"); // mm: can the current member access this page? $perm=getTablePermissions('tcg'); if(!$perm[0]){ echo StyleSheet(); echo "<div class=\"error\">".$Translation['tableAccessDenied']."</div>"; echo '<script language="javaScript">setInterval("window.location='index.php?signOut=1'", 2000);</script>'; exit; } $x = new DataList; $x->TableName …

Member Avatar for ShawnCplus
0
172
Member Avatar for Cheif Druid

Hi everyone, I'm embarrased to ask as I am so new at this but here goes anyway: I have been trying to create a simple secure login screen that when successfully logged into, will allow the user access to other services. I found, modified a good tutorial and all works …

Member Avatar for Cheif Druid
0
62
Member Avatar for navi17

hi everyone. please tell me difference between mysql_connect & mysql_pconnect? and which is better and how?

Member Avatar for diafol
0
77

The End.