39,388 Topics

Member Avatar for
Member Avatar for simirnov

Hi All, I am a beginner in php and working on admin side of a small website. I have attached a PHP CKEDITOR to the admin page so that the admin may edit the pages text. Here, i am a bit confused about one thing and that is about how …

Member Avatar for Qaalid
0
2K
Member Avatar for asprin

This is really a spoon feeding request. I'm in the process of learning regex, which will take time to perfect, but as of now I'm in immediate need of help to work on regex expression. Suppose I've a string like $str = "asggasdg46%dgeoweg5.3%sdgeoge4%kge"; In the above string, I need to …

Member Avatar for asprin
0
186
Member Avatar for Shikha_1

<?php include("DBconnect.php"); $u="select count(username) as 'COUNTUSER' from users where username='shikha verma'"; $result = mysql_query($u); while ($row = mysql_fetch_array($result)) { echo $row[COUNTUSER]; } /*if ($value[0]>0) { die("email already exist"); }*/ ?> the code inside the comment is not working please give me suggetions

Member Avatar for kkbalwada
0
198
Member Avatar for shlokka

hi everyone im having issues with some results i need, basically i have a view page that needs to output results based on earnings per month. all results are collected and outputted in rows, is there anyway in php i can group all the results by the earning month instead …

Member Avatar for asprin
0
165
Member Avatar for klemme

I have inserted a rich text editor to an textarea, but I get the following error after submitting my form: [CODE] Notice: Undefined index: msgpost in C:\wamp\www\mycms\administrator\page_new_parse.php on line 15 [/CODE] I have changed the textarea name, and the id to "msgpost" as explained on their website. I have also …

Member Avatar for Qaalid
0
2K
Member Avatar for anojs

[B]insert.php[/B] [CODE]<?php $dbun = "$_POST[dbun]"; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("my_db", $con); $sql="INSERT INTO $dbun (sn, date, particular, dr, cr) VALUES ('$_POST[sn]','$_POST[date]','$_POST[ptr]','$_POST[dr]','$_POST[cr]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?> [/CODE] [B]DB name = my_db[/B] [B]user.php[/B] …

Member Avatar for dono.reseller
0
260
Member Avatar for eoliva

I need to store the values of a textarea tag using a form to submit the value and finally store to a mysql database table. Here is what I have, I am sure its something dumb, but its been a while since I have used php. [CODE] <?php if(isset($_POST['submit'])){ $con …

Member Avatar for DenaEden
0
4K
Member Avatar for ehpratah

Hey Everyone Im having a lil trouble rightnow making this script work. What im trying to do is make a script that will change the bgcolor color to red if the Serving time is less than or equal to 1 hr left which is working now but in the long …

Member Avatar for ehpratah
0
189
Member Avatar for mmcdonald

Kill me now! I have two tables in my DB. One has a list of certifications and one has a list of exam boards. I need to list the exam boards in a foreach loop giving each one an accordion. The certifications must be listed under their correct exam board. …

Member Avatar for mmcdonald
0
844
Member Avatar for Eagle.Avik

hi, i am new to mysql and also to php, i am trying to add a feature to a webpage, for showing some latest records from a mysql databse. i managed to show records from mysql database, but the problem is i only trying to show the first four records …

Member Avatar for Eagle.Avik
0
840
Member Avatar for extjac

MVC Design Question Hello, I would like to move an web application to MVC Laravel 4 (not sure yet). The challenge is that the application is used by many customers and each customer have its own website/front-end but they all use the same backend/admin. The strucutre is something like this... …

Member Avatar for extjac
0
185
Member Avatar for thearts.beach

Hi, I am trying to learn how to use a data base to store photos and such, I can now get info into the base and can get all the records to display , this is not what I had planed, So that lead me on a surch for answers …

Member Avatar for thearts.beach
0
485
Member Avatar for ronaldpaul

Hi, In Virtual Box I've installed Fedora 17 and setup LAMP development environment. I've set the static ip to access the localhost and the applicaions/projects. Now I would like to configure it as to access them using the static IP from the host machine (Windows 7 OS). How can I …

Member Avatar for CimmerianX
0
279
Member Avatar for MWEB

Hello everyone! I have a question .. i have a js file (script.js) and a php file (script.php) , in the php file i have a code that verify a user and in the script js i have this: var uname = name.val(); $.post('HERE IS THE QUESTION' , {names:uname} , …

Member Avatar for MWEB
0
366
Member Avatar for pritaeas

Attached is the code for my RSS dashboard, using the DaniWeb API. It's an improved version of the mashup I posted earlier, using jQuery to get all feeds asynchronously. The part which initially loads the forums is shown below. It creates an API object, and a Parser object. The first …

Member Avatar for pritaeas
1
466
Member Avatar for mmcdonald

Hi all, I've been playing around with this for 30 odd minutes now and basically been making a right fool of myself... I want to make a function called `userInfo()` that uses the users email address, stored in `$_SESSION['auth'];`, to get any information required from sql. I'm using **MySQLi** and …

Member Avatar for mmcdonald
0
289
Member Avatar for OsaMasw

how it possible to create grid layout with 3 or 4 or 5 items per row in php something like this : ![a2cbc4d55772c3b0432d4392d13838e0](/attachments/large/3/a2cbc4d55772c3b0432d4392d13838e0.jpg "a2cbc4d55772c3b0432d4392d13838e0") I have this solution, do you think its effecient <? $count = 0; $num_images = mysql_num_rows($rs); while($data = mysql_fetch_assoc($rs)) { if ($count == 0 || ($count …

Member Avatar for OsaMasw
0
281
Member Avatar for kumar89hitesh

Hey, i am just starting php project and i am fresher in php so i want some good examples of cms in php language that how to create cms in php language. Please send me some good example of classes and cms.

Member Avatar for crescendo
0
219
Member Avatar for carminaJoy

hi po.. iam so interested about PHP thats why i joined, i except to learn more and help others..

Member Avatar for pritaeas
0
24
Member Avatar for bops

Hi there, This question relates to data structures, performance and approach to a problem. It is best explained with example so bear with me. For the record, I will be using a combination of PHP, MySQL and Apache server on a dedicated Linux server. The problem is how we would …

Member Avatar for bops
0
316
Member Avatar for f5media

I get the following error message in Wordpress when try clicking on all users. Any idea how to fix it? Parse error: syntax error, unexpected $end, expecting T_VARIABLE or '$' in /home/content/50/10679250/html/krinspired.com/wp-admin/includes/class-wp-users-list-table.php on line 59

Member Avatar for EvolutionFallen
0
123
Member Avatar for nerdynewf

I am trying to convert some webcode and am having trouble. I have a website with an admin section allowing me to upload images one at a time and am trying to change it to allow me to upload multiple images at once. I must have something out of place …

Member Avatar for pzuurveen
0
177
Member Avatar for sanjayphilan

hi, i am new to this php scripting language. can any one tell me step by step process to run a simple "hello world" program. and tell me ..what are the software packages that i need to do this. thanks in advance. sanjay

Member Avatar for mattster
0
316
Member Avatar for patk570

Hello everyone, I have a search form that i am working on, and I have a huge array of checkboxes that I am using so people can refine the search down to just 1 or 2 things if they want to. In the search.php page, i have an implode function …

Member Avatar for ndomba
0
474
Member Avatar for Hazuan Nazri

HELLO FRIENDS!, i have problem here, i try to show mysql data using dreamweaver, now i already change the sql statement to show data when user choose the data from select list/view and click submit, so thats mean i add 'where my_column = $_POST' and its work, but the problem …

Member Avatar for Hazuan Nazri
0
598
Member Avatar for suno15

I created a banner to my website with 3 images moving dynamically. I want to update the images from an admin pannel. Please help me. Thank You.

Member Avatar for diafol
0
117
Member Avatar for davy_yg

Hello, what is tpl extension file and what is it for ? I once open a php web script and saw *.tpl extension there. Thanks before.

Member Avatar for diafol
0
151
Member Avatar for efraimo

Hello, I have a project to sent messages to HODs in an organization and I have developed a HTML/PHP/MySql app that sends the messages. What i need help now is: How to notify userB on his computer that he has a message when userA sends him a message. Any urgent …

Member Avatar for Atli
0
243
Member Avatar for arsharma159

Hello everybody, I want to deveop an online mobile recharge website for my recharge business. I can develop websites and have developed a few php applications. Now, I don't even know how and where to start from. So, please guide me on how can I develop such a website. Thanks …

Member Avatar for Atli
0
231
Member Avatar for dlaverick

I am trying to interact with my wqordpress database. I need to upload a csv file to my database but it will not run any query, no matter which way I try using the WordPress codex, I cannot get it to do what I need to. So from my Admin …

Member Avatar for dlaverick
0
226

The End.