39,323 Topics

Member Avatar for
Member Avatar for Inch

Support me in doing my very first steps, Please. Previously I've had two links to register.php and login.php. They had `header("Location: index.php");` unfamiliar to me. And I've found `header("Location: ".$_SERVER['PHP_SELF']);` **index.php:** <!DOCTYPE html> <html> <h1>Register</h1> <form method="POST"> <input type="text" name="user"><br /><br /> <input type="pass" name="pass"><br /><br /> <input type="submit"><br /> …

Member Avatar for imti321
0
237
Member Avatar for Chris920

Hey everyone, I am new to DaniWeb and happy to be a memeber of this community. Im stuck on a PHP issue. I have two PHP scripts - One on the main domain, and one on the sub/ I have the subdomain with a "meme generator" on it. Then i …

Member Avatar for veedeoo
0
117
Member Avatar for Danny159

Hey, I am working on a project that requires dynamic sub domains... for example user1.mydomain.com and user2.mydomain.com etc... But I am having some trouble... I have setup the wildcard A record and all of that is working fine. The problem is my application uses ajax and because the domain is …

Member Avatar for Danny159
0
213
Member Avatar for imti321
Member Avatar for broj1
0
361
Member Avatar for blueberry25

if(isset($_POST['update'])) { $sql = "UPDATE menus SET Menu_bar = '$_POST[menu_bar]' WHERE ID = '$_POST[hidden]'"; mysql_query( $sql, $con ); } $resultMainMenu = mysql_query("SELECT * FROM menus WHERE Parent_id=0 ") or die(mysql_error()); echo '<ul>'; while($row = mysql_fetch_array($resultMainMenu)) { echo '<form action=page.php method=post>'; echo '<li>' . '<input type=submit name=update value=update>' .'<input type=hidden name=hidden …

Member Avatar for blueberry25
0
209
Member Avatar for Danny159

Hi, I have the following htaccess file: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [NC,OR] RewriteCond %{REQUEST_FILENAME} -d [NC] RewriteRule .* - [L] DirectoryIndex /index.php RewriteRule ^([^/.]*)$ $1/ [R] RewriteRule ^([^/.]*)/$ /$1.php [QSA] </IfModule> This works fine, if I put for example /legal/ it loads up …

Member Avatar for Danny159
0
166
Member Avatar for Lorele

CodeIgniter 3.0 is available in development, and has been taken over by British Columbia Institute of Technology, taken over from Ellis Labs, and has moved to [CodeIgniter.com](http://www.codeigniter.com/). I am new to using PHP and databases, but after trying to figure out the best platform to work on a web project …

Member Avatar for lorenzoDAlipio
0
570
Member Avatar for PierJean

Hello. I am retired, 70 years old and new to php and wordpress. Not to be completely stupid, I did some homework learning everyday 10 hours a day for the last month or so but my time is limited so I finally decided to seek some help from a helpful …

Member Avatar for PierJean
0
341
Member Avatar for Kalaivani Nair

Good Day Everyone. I'm using FoundationPress as frontend and Wordpress as backend. I created a very simple plugin to upload image into the homepage. I've no issue with that. I can display them properly in the page I desired. However I wish to use little bit of javascript for the …

Member Avatar for Taywin
0
237
Member Avatar for bradly.spicer

I have this snippet below, I'm trying to query if a cast is online or not (That part works when I take it outside the while loop) but then in the while loop run through until I find an online cast and then keep it there. If I remove the …

Member Avatar for bradly.spicer
0
216
Member Avatar for shehnaz20

I want to select a checkbox and delete the selected record i tried the below code but not working can anyone help me out in this <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="data"; // Database name $tbl_name="register"; // Table name // Connect to …

Member Avatar for ashokkmr22
0
189
Member Avatar for dominic.ceraso.9

Hello friends, I havea mysql database setup as the following database -------------- products | flexRange | color | pressingWidth | topSpacerorTopDie -------------------------------------------------------------- I have 400+ entries into these columns - the end result is to have 4 drop downs where the end user will select one item from each drop …

Member Avatar for Bile
0
348
Member Avatar for kesh1000

Hi All, I am doing a project whereby I can create and publish websites/landing page to custom domains. However I am a newbie at publishing. Can someone please guide as to how I can take user input for custom domain where site is to be published at, verify that the …

Member Avatar for AMJAlienServers
0
320
Member Avatar for jorgeftz

Hi, I have the follow select where it display like that using oracle 11g: M<->Note 1<->2 1<->3 1<->4 2<->8 2<->9 I want to display like that in a html table (M once): M<->Note 1<->2 "<->3 "<->4 2<->8 "<->9 $sql = ("SELECT DISTINCT(t1.MIN) AS M, T2.NOTA FROM T1 RIGHT JOIN T2 …

Member Avatar for jorgeftz
0
123
Member Avatar for Junior999

i'm making table reservations scheduling table with PHP and Mysql. i'm stuck on one thing, dont know how to check every cell i must print,which will indicate a reservation, with every column,which will indicate hours. Can anyone give me an idea ? i will get my reservation info from database …

Member Avatar for Masterblank
0
429
Member Avatar for Borderline

Good evening I've been working on creating a basic admin panel in order to allow a friend to edit the content of her own website. The data is stored in a database, and the plan is to allow her to edit/add content to the database. I've previously used this successfully …

Member Avatar for Masterblank
0
246
Member Avatar for Rizi004

Hello everyone i'm developing facebook app but i want when user reach at the end of the page the content auto load from database. The only problem is that how i can check that user's reach at the end of the page with in iframe. I have used auto load …

Member Avatar for Masterblank
0
228
Member Avatar for davy_yg

Hallo, I am trying to create session that works! This is the test admin (assign session) then afterward pass to input_image.php but I wonder why I cannot pass the index.php ? admin.php <?php //$_SESSION['banner'] = $banner; $_SESSION['banner'] = 'banner'; //$_SESSION['image_id'] = $image_id; ?> <td><a href="input_image.php"><img src="images/<?php echo $data['newfilename']; ?>" height="150px" …

Member Avatar for broj1
-1
170
Member Avatar for AntonyRayan

how to edit a image from mysql database in php , that should image should be displayed on the form

Member Avatar for diafol
0
58
Member Avatar for kamal_sharma

![fcc71b5c94a5a1e7c751b868efb70bce](/attachments/large/4/fcc71b5c94a5a1e7c751b868efb70bce.png "fcc71b5c94a5a1e7c751b868efb70bce") Im seeing whitespaces in the head section of my webpage's code on viewing source code in browser. Possibly due to inclusion of php files using include_once. I know its not a big issue but want to remove it. Here is the page http://searchmytrain.com/trains-from/BATHINDA-CANTT

Member Avatar for JorgeM
0
85
Member Avatar for rgracey

Hi - I am creating a simple PHP Task Request form that will post to an email address. I am fine with everything except one problem. I need this form to generate an ID number which will also display in the Subject line. If someone requests a task and it …

Member Avatar for broj1
0
186
Member Avatar for jonlloydd

PHP code not being interpreted by DW and appearing as text on webpage. My Php code is below, this code is bolted into a html site(PHP file). However the code is not being executed and it is appearing as text on the webpage. Any help would be really appreciated. <?php …

Member Avatar for jonlloydd
0
178
Member Avatar for Jackyjack21

Hello, I have a webpage which has the follwing source code: <div class=prod_text> <b>Category:</b> <a href='/Games/Xbox-360/Action_Adventure/'>Action Adventure</a><br><br><b>Publisher:</b> <a href='/stores/Ubisoft/'>Ubisoft (click here for our Ubisoft store)</a><br><br><b>Barcode (EAN) No:</b> 3307215794227<br><b>Barcode (EAN2) No:</b> 3307215794234<br><b>Barcode (EAN3) No:</b> 3307215794241<br><b>Barcode (EAN4) No:</b> 3307215801895<br><br><i class='psm'><b>Please Note:</b> Any images are used for illustrative purposes only, actual products and/or …

Member Avatar for almostbob
0
244
Member Avatar for soomro_moon
Member Avatar for broj1
0
86
Member Avatar for cereal

When using emails as usernames you want them to be unique over your table, but this can be a problem if you consider a GMail account, because of their [username](https://support.google.com/mail/answer/12096?hl=en) [policy](https://support.google.com/mail/answer/10313?hl=en). They allow: * dots * digits * letters * plus addressing text by using the `+` sign, i.e. `orange+juice@gmail.com` …

Member Avatar for cereal
2
657
Member Avatar for zebnoon1

Dear friends, I want to transfer data from one page to other via SESSION variables my code of session1.php page is below <!DOCTYPE html> <html> <head> <title>Hello!</title> </head> <body> <form action="session2.php" method="post"> <input type="text" name="text" /> <input type="submit" name="submit" /> </form> <?php session_start(); $text=$_POST['text']; $_SESSION['stext']=$text; echo("session is set"); ?> </body> …

Member Avatar for cereal
0
214
Member Avatar for rtipton

I am trying to make a graph from data that i have in my sql database. Below is the exmaple of the data that i am pulling from my data base. Region LC_count MC_count NC_count B_count LL_count EL_count LR_count CR_count MOUNTAIN 0 722 542 0 7155 0 0 1444 NO.CAL/NEVADA …

Member Avatar for rtipton
0
175
Member Avatar for vivek.goyaljpr

I have 1000 page metarial in chankya hindi font .i want to make a website who transalte chankaya font to unicode effectly can u suggest how can i do ..

Member Avatar for Masterblank
0
77
Member Avatar for accra

I have a gps sending data to mysql db, but am having hard time ploting the values on google map. My javascript skills are not very good, pls help... javascript code <?php $server = "localhost"; $username = "root"; $database = ""; $password = ""; $conn = mysql_connect($server,$username,$password); mysql_select_db($database) or die("Unable …

Member Avatar for Masterblank
0
2K
Member Avatar for Alicia_5

line 15 is WP_PLUGIN_URL.' // Add the stylesheet to the header wp_enqueue_style( 'jquizzystyles' WP_PLUGIN_URL.'/jquizzy/source/jquery.jquizzy.css' false, all); ` { ` font-family "Myriad Pro", "Lucida Sans Unicode", "Lucida Grande", sans-serif; margin: 0; padding: 0; border: 0; text-decoration: none; color: #333; `}`

Member Avatar for Masterblank
0
97

The End.