39,323 Topics
| |
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: … | |
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 … | |
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 … | |
Hi, Can anyone know about what changes to be done to create customized breadcrumb link like daniweb site in custom page of VBulletin. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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. | |
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 = … | |
how can i access my admin page with edit and delete buttons in (employers/jobseekers form) | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
Hello guys, iam a new bie in webdevelopment. can u please help me in writing code to the payment gateway please Thanks in advance | |
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 … | |
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. … | |
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") … | |
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 … | |
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 | |
[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 … | |
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 … | |
hi everyone. please tell me difference between mysql_connect & mysql_pconnect? and which is better and how? |
The End.