39,323 Topics

Member Avatar for
Member Avatar for branding4you

I have table in mysql, have values in row i want when page loads the highest value is alwyas the selected one. Im using two queries first one pulls the top value and adds it to box then it populates the rest, so it shows this top value twice, is …

Member Avatar for branding4you
0
263
Member Avatar for veledrom

Hi, I want to buy a Codeigniter book to learn its framework and develop PHP applications with it. I've been using PHP about 4 years but never used any kind of framework before. Which one of these books would be good for me to get staring: [URL="http://www.amazon.co.uk/CodeIgniter-Professional-Development-Adam-Griffith/dp/1849510903/ref=sr_1_1?s=books&ie=UTF8&qid=1304357639&sr=1-1"]CodeIgniter 1.7 Professional Development[/URL] …

Member Avatar for veledrom
0
197
Member Avatar for abhi10kumar

I want to run a simple query when a Link is clicked, without disturbing the page i.e at the back end of a page. Also I am passing some values also.

Member Avatar for twiss
0
35
Member Avatar for prajesh2

I'm looking for any website or online book on object oriented in php to learn more about how to use classes and objects better. I would appreciate beginners level and expert level resources.

Member Avatar for macobex
0
63
Member Avatar for Tehim

I was just wondering if it can or not. Otherwise wouldn't this code work great for stopping SQL injection? [code=php] $some_post = addslashes($_POST['some_post']); if (!ctype_alnum($some_post)) { //error } else { //all good } [/code]

Member Avatar for diafol
0
362
Member Avatar for vivekchandra

i notice a thing about header function in php.....sometimes we used it as 1.header("Content-type: $contenttype"); //i saw this in a dynamic page 2.header("Content-type: $image/png"); //saw this in a captcha create page 3.header("location:bird.php"); // this one i understand 4.header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-cache"); header("Pragma: no-cache"); //saw these …

Member Avatar for almostbob
0
121
Member Avatar for lovell_82

Hi there, I'm trying to setup a website with a database. I want my php code to create the database and then input the data into it, however a get the error on my register page: Warning: mysql_connect() [function.mysql-connect]: Access denied for user '*****' (using password: YES) in /fg_membersite.php on …

Member Avatar for diafol
0
535
Member Avatar for veledrom

Hi, I did an example to see the time it takes to run a query and cache it but it doesn’t work and I cannot find why. Please give me a hand. No cache file gets created as well. In config/database.php: I’ve set $db[‘default’][‘cache_on’] = FALSE; because I don’t want …

Member Avatar for veledrom
0
71
Member Avatar for lovell_82

I'm trying to write php code to access my sql database. pretty new at this and was wondering for my hostname and username and that, do i prefix the web address to the username and password or what is it? I geta error saying my credentials are not correct. Can …

Member Avatar for lovell_82
0
140
Member Avatar for arshadshaikh

I have downloaded files from [url]http://sergey89.ru/files/ffmpeg-php-win32-all.zip[/url]. I add four files in c:\\windows\system32\ folder these files are : avcodec-51.dll, avformat-51.dll, avutil-49.dll and pthreadGC2.dll. And one file php_ffmpeg.dll i add in \xampp\php\ext\ folder. After restarting system and server i get following error: --------------------------- Warning --------------------------- PHP Startup: ffmpeg: Unable to initialize module …

Member Avatar for twiss
0
887
Member Avatar for abhi10kumar

I am printing checkbox's value on combobox value using AJAX, but showing undefined. First time it ok, but When checkbox is clicked then value is set to be off, showing undefined. Here is the code. [B]Checkbox[/B] [CODE]<input type="checkbox" name="course_inactive" value="off" id="course_inactive" onclick="check(this.value); value2(this.value)">[/CODE] [B]Combobox[/B] <div style="float:right; height: 26px; padding-top:2px;" id="div_courses"> …

Member Avatar for twiss
0
164
Member Avatar for foxwizzy

[CODE]<?php require_once('Connections/TSFH.php'); ?> <?php // *** Validate request to login to this site. if (!isset($_SESSION)) { session_start(); } $loginFormAction = $_SERVER['PHP_SELF']; if (isset($_GET['accesscheck'])) { $_SESSION['PrevUrl'] = $_GET['accesscheck']; } if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $password=$_POST['password']; $MM_fldUserAuthorization = "aclevel"; $MM_redirectLoginSuccess = "/users/" . $loginUsername . "index.php"; $MM_redirectLoginFailed = "/login.php"; $MM_redirecttoReferrer = false; mysql_select_db($database_TSFH, …

Member Avatar for codewall
0
150
Member Avatar for wova

Is using php with MS SQL server over MySQL a good practise? Ive been using MySQL for quite sometime and what I like about it is that it is free. Are there any advantages of using MS SQL server over MySQL? Or any challenges.

Member Avatar for codewall
0
69
Member Avatar for keval_hack

Can any one suggest me where i can get free blog templates similar to below template. [url]http://blog.artoflegendindia.com[/url]

Member Avatar for codewall
0
66
Member Avatar for rhiang1984

i am wondering where i am going wrong, i have a uploader image in php and html, it all works as in it goes into the set folder, but i have a problem, because i want the program to do the folder then do another folder inside,as in using the …

Member Avatar for codewall
0
952
Member Avatar for Nybuler

Greeting to all :) i wanted to store a selected option in to mysql database My senior said must in this format" option 1 option 2 option 3 I was stuck with this couple hours ago! i have think of nl2br but i'm not familiar with it Can anyone help? …

Member Avatar for Nybuler
0
411
Member Avatar for techsavi

I downloaded the php. MySQL and the apache but, I am facing a problem in which the code is being displayed and not the web page. There must be a configuration problem. Any help would be much appreciated.

Member Avatar for sainigks
0
279
Member Avatar for tkapadia1102

Hii, I am new to PHP world. I need to convert the video files into flv format. I am having a problem in the code. Its not working. I dont know whats the problem. It gives error " Parse error: parse error in \script\uploadvideopro.php on line 63 " Here is …

Member Avatar for diafol
0
179
Member Avatar for cuonic

Hi, I am creating a script to show stock information, but the images showing the price difference (down and up arrows) are not appearing in page or in source. They do exist on the server and the src url is correct, so I think it is a PHP problem. Here …

Member Avatar for cuonic
0
104
Member Avatar for mpc123

Hi If somebody can point me in the right direction for what i require that would be great. I will give an example rather than exactly what i require just to make it simplier to get the information across 1.I have a csv file which has around 400 rows in …

Member Avatar for mpc123
0
113
Member Avatar for gambit_1607

hi i'm using drupal. when i'm on my blog page and when i'm signed in as admin i'm getting a list of all the og groups in a selectbox and when i'm signed in as a normal user i'm getting checkboxes for only the groups i belong to. i want …

0
90
Member Avatar for klemme

I need to process/send this form [CODE] <?php <form name=\"form1\" method=\"post\" action=\"send_contact.php\"> <p>Emne:</p><input name=\"subject\" class=\"input\" type=\"text\" id=\"subject\" size=\"64\"><br /><br /> <p>Forespørgsel:</p><textarea name=\"detail\" cols=\"50\" rows=\"7\" id=\"detail\"></textarea><br /><br /> <p>Navn:</p><input name=\"name\" class=\"input\" type=\"text\" id=\"name\" size=\"64\"><br /><br /> <p>Email:</p><input name=\"customer_mail\" class=\"input\" type=\"text\" id=\"customer_mail\" size=\"64\"><br /><br /> <input type=\"submit\" name=\"Submit\" value=\"&nbsp;Send&nbsp;\"> <input type=\"reset\" name=\"Submit2\" …

Member Avatar for pritaeas
0
95
Member Avatar for AMADH

Hello, I have a query, that I am trying to have a conditional statement for a variable that I will pass into the query. If I use one of the conditions it works, but if I try both I can't get it to work. I would appreciate any help. Thanks, …

Member Avatar for AMADH
0
123
Member Avatar for newbie14

Dear All, I have a page at this link [url]http://183.78.169.54/v3/addTab.php[/url]. The problem now if you click on the Driver Employment tab and press Add button at the bottom the content will change to Driver Details. But the tab Driver Employment is still highlighted not the Driver Details. Below is the …

Member Avatar for newbie14
0
122
Member Avatar for sainigks

Dear all i have created a from to receive data from users. and data will store in sql table. all is going well. BUT NOW i have installed a module so users can type in Hindi fonts to fill details in form. when users will type data in hindi font …

Member Avatar for bibleaudio
0
2K
Member Avatar for klemme

Hi, I have found a REALLY simple contact form, which i am trying to mail to my own email for testing. But I havent tried this before so i am not sure how to set it up. Hope someone can help me out! I get this error: [CODE] ( ! …

Member Avatar for tiggsy
0
199
Member Avatar for jacob21

Hi, I am working on this code.I am trying to redirect the [B]URL[/B] coming from database. i am using target="_blank" but its opening in reverse order. i.e. main.php is opening in new page & uRl page is opening on the same page but i want URl coming from database should …

Member Avatar for twiss
0
190
Member Avatar for scoobie

Hi, i was wondering if anyone can help me. i am new to php and was wondering if it was possible to embed javascript in php. i was trying to get an alert/msg box up to explain an error to the user. i have written the following code <?php ............. …

Member Avatar for shridharshenoy
0
631
Member Avatar for umesh daiya

hi, i would like to know how to use server side validation in php i mostly use client side validation using javascript but now i want to validate my form using php. thanks

Member Avatar for vibhaJ
0
53
Member Avatar for karthik_ppts

how to add circle marker on google map by giving latitude,longitude and radius in KM?

Member Avatar for karthik_ppts
0
242

The End.