39,323 Topics

Member Avatar for
Member Avatar for Farhad.idrees

Hi guys i hm havig problem....My Code is [CODE] <?php $conn = mssql_connect("FARHAD-PC\SQLEXPRESS","",""); mssql_select_db("Testing",$conn); $query = "select * from User1"; echo $query; ?> [/CODE] The error iss Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\Testing\SqlConnection.php on line 4 Hope someone will help me.. Regards.. Farhad

Member Avatar for Stefano Mtangoo
0
275
Member Avatar for Ritesh_4

Hello I need to create a pdf doc which will look like the word doc attached, and have to use php to do so. In the doc, the blue texts will need to be filled from data fetched from table User in mysql, and the Autofill part as well will …

Member Avatar for Ritesh_4
0
472
Member Avatar for rhodge09

Hey guys i have a code here that allows me to add any database to the existing database that i have already. I can do that fin by using a text field and submit button for that. Now the harder part for me is trying to delete an existing field …

Member Avatar for ajbest
0
403
Member Avatar for amulet_john

Please HELP Me!!! I want to directly pass the value of a javascript variable into php variable... I used this code below but it doesn't work.. Can anyone teach me how to do it?? PLEASE.. Thank you so much in advance.. Here's my code: [code] <script type="text/javascript"> var a = …

Member Avatar for ajbest
0
4K
Member Avatar for amulet_john

Hi guys... I'm trying to create an examination page (in PHP) wherein I want to show to the user/examinee the remaining time.. I manually set the exam time to 1 hour (1:00:00). The problem is I want to keep that time decrementing once the examination is started.. If time become …

Member Avatar for ajbest
0
651
Member Avatar for Joemeister

I'm struggling very hard to get this to work and I don't know what I'm doing wrong. I have a register page that I want to take the data inserted into the form and INSERT it to the database with jQuery and AJAX. I'm not very experienced with AJAX AND …

Member Avatar for stanley87
0
3K
Member Avatar for 650U

Hi, I am looking to create a Bar Chart based on the values I get from the form. It works with positive values, but at times (since some math are done to find the value) I do have negative values and the graph just shows a bar going down that's …

Member Avatar for ajbest
0
430
Member Avatar for Casperjames

Here's what I want: [CODE]$practice_name = preg_replace("/\([^\)]+\)/","",$practice_name); echo($practice_name); [/CODE] But that does not work when I reference the variable then. This however does work. [CODE]echo(preg_replace("/\([^\)]+\)/","",$practice_name));[/CODE] But I do not want to update my code every time I reference $practice_name, I only want to update where the variable gets assigned.

Member Avatar for Casperjames
0
118
Member Avatar for DaveyMoyes

Hi everyone :) I am working on a small error message, but i can not seem to get it to work correctly. Basically, what I am trying to do, is check the account balance field from a mysql database against a variable of $smsnum smsnum is automatically populated based on …

Member Avatar for diafol
0
164
Member Avatar for ronysios

[CODE]<? ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Guitar Wars - Add Your High Score</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h2>Guitar Wars - Add Your High Score</h2> <?php require_once('appvars.php'); require_once('connectvars.php'); if (isset($_POST['submit'])) { // Grab …

Member Avatar for ronysios
0
120
Member Avatar for harveylester

Hi, When I enter submit search terms into the search bar on my site ([url]http://www.projectdisobey.com/disobeyclothing/[/url]), and then put the resulting page through a validation test at [url]http://validator.w3.org/check[/url], I get the following validation errors: [url]http://i1118.photobucket.com/albums/k616/HarveyLester/Validation-Errors.jpg[/url] I know that all these errors are resulting from an unencoded ampersand. My question is, which …

0
58
Member Avatar for IWDesigns

hi everyone... i have a page running html and javascript... basically its a faq page, viewers click on a question heading and then the related questions appear below (done using the js hide command) i had the problem where everytime i clicked a heading the page went back to the …

Member Avatar for IWDesigns
0
97
Member Avatar for irffan

HI,I am web development beginner and i have to make an online database project in just 8 to 9 weeks,please recommend me that which tool i should use to make my project that is fast ,reliable and efficient... Following are the tools under my consideration Joomla Dream weaver xamp wamp …

Member Avatar for cwarn23
0
116
Member Avatar for hindu times

Hi there, I've been given the task of adding a Google recaptcha to a form on this website I'm working on. I'm not really familiar with the code that I've been given to edit, so I was wondering if anyone can help me. Basically, the "contact" page looks like this …

0
129
Member Avatar for Kennych

Not sure why I'm getting this but I get an space when there is an incorrect login to my webpage. [url]www.redargon.com/temp.php[/url] My two classes [url]http://pastebin.com/841ZzhcP[/url] <---login page aka temp.php [url]http://pastebin.com/jUhw1Vqp[/url] <---class login (contains all methods) Any help here would be great.

0
61
Member Avatar for kgizo

Hello I just read a document using PHP and I need to skip the first 58 lines of that document and then start sending the data that follows from those lines to my database. How do I go about skipping the first 58 lines of the document. I really need …

Member Avatar for kgizo
0
180
Member Avatar for Tariq12010

Hi Sir, My name is tariq , i am intrnee developer in my company . i have project EPS which i will make using joomla cms mvc so i need help more because i am intrnee please must be help me any one thank you very for this kind of …

Member Avatar for Tariq12010
0
97
Member Avatar for turt2live

What this script does is take in an image and export a thumbnailed version. Function Arguments: $file : Desired image to create a thumbnail of $destination : End location for the thumbnail $zoom : Setting type, explained later (default: false) $t_width : Thumbnail width (default: 150) $t_height : Thumbnail height …

Member Avatar for turt2live
0
539
Member Avatar for Joemeister

Hi fellow programmers! What I want to do is this... * I have a list of registered users * next to each user is a link "Add as friend" * user_1 clicks the link to add user_2 * user_2 now needs to confirm or deny the request WILL THIS TABLE …

Member Avatar for diafol
0
120
Member Avatar for suncica2222

I want to adjust this class that is written for phpBB2 into phpBB3 forums. Here is curl_phpbb.class.php complete code: [url]http://www.phpkode.com/projects/item/curl-phpbb-functions/[/url] I am working at this function: function new_topic($forum_id, $message, $topic_title) As I can see, GET and POST params are different for phpBB3 and that is [B]my main problem: to send …

Member Avatar for diafol
0
1K
Member Avatar for Jones_nash

Hello there my friends, I was looking to the best PHP code generator in the market, i already take a look into some frameworks but before i buy it i wanted to take a look here to know if you guys have any sugestion. Any of you already have/use/bought any …

Member Avatar for Ezzaral
1
189
Member Avatar for Virangya

Hi, I want to control devices using php. But don't have a clear idea how i'm going to do that. I googled and got to know about DIO functions. Eve by using them i don't have a clear idea how to do it practicably. If want to control my web …

Member Avatar for chrishea
0
206
Member Avatar for turt2live

Hello, I've been trying to create a script that will take defined pages of a PDF and display them to a webpage using PHP. I've looked through the PHP Manual and only came up with ways to create a PDF, but no read options. --Detailed Scenario-- My school wanted me …

Member Avatar for turt2live
0
298
Member Avatar for aaloo

i have this code in a page called process.php to create a page dynamically. [CODE]$_SESSION['z']=$post; $string = '<?php $p='.$_SESSION['z'].'; ?> '; $fp = fopen("$post.php", "w"); fwrite($fp, $string); fclose($fp); [/CODE] if $post=big then it creates a page big.php with this code [CODE] <?php $p=big; ?> [/CODE] but i want to write …

Member Avatar for aaloo
0
142
Member Avatar for skinbug

Hi, I am posting in PHP forum as I believe it is a PHP problem. I have seen examples of inserting multiple rows and it seems there are generally 2 options...to use multiple insert commands or to 'concatonate' the query. I have tried these options but with no success. So …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for ajbest

Can anyone tell me if the following query can be done? [CODE]mysql_query("SELECT a, b, (a+b) AS c FROM table WHERE c=1");[/CODE] When I try this I get an unknown column error for c. In order to get the query to work I have had to do this [CODE]mysql_query("SELECT a, b, …

Member Avatar for pzuurveen
0
182
Member Avatar for luweegee

hi guys! how do I put div tags at the beginning of the $ _SESSION until </ a> [CODE] echo $_SESSION['username'].' | <a href="logout.php">Logout</a>'; [/CODE]

Member Avatar for luweegee
0
71
Member Avatar for DarkMonarch

I guys! I need a couple of good book titles that can cover the work i need to do. I work in a call center and i need to do some modifications to the GUI, clients, operators and admin. Our platform works on asterix 1.6 with freepbx on top. we …

Member Avatar for Stefano Mtangoo
0
107
Member Avatar for mrhankey

hi, i am looking at a way of integrating an email system where users can check their own email from within the system and email from it. basicaly within the cms they should have the ability to login to their pop3 email if possible. only problem is that the cms …

Member Avatar for mrhankey
0
73
Member Avatar for digital_plunder

when i try to access this login page..an empty page open...please help with this coding [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Latest</title> </head> <body> <?php include("db.php"); if (isset($_POST["submit"])) { $username=$_POST["username"]; $password=$_POST["password"]; $query="select * from latest where username='$username' && password='$password'"; …

Member Avatar for digital_plunder
0
149

The End.