431 Posted Topics

Member Avatar for grakovski

I'm struggling to understand what you want. Maybe show us how your database is structred etc. so we can maybe begin to understand this a bit better.

Member Avatar for mattster
0
150
Member Avatar for andyrooheavens
Member Avatar for avinash_3
Member Avatar for beanboy

> if its working then make it solved k 3 months later... Maybe you should have said that like 2 1/2 months ago rather than reviving a post that's dead.

Member Avatar for diafol
0
1K
Member Avatar for davy_yg

You might be able to re-login, but you shouldn't be able to gain access. If you can, it means you're also not checking to see if the use is authorised correctly.

Member Avatar for mattster
0
163
Member Avatar for hanspeare_1
Member Avatar for erabxes

> although this shouldn't affect the output But in this case it would, using `echo "Hi {$name}";` is okay, but array variables like `$variable['XYZ']` it could well cause problems. I'm sure the output will tell us where this problem lies.

Member Avatar for erabxes
0
392
Member Avatar for fungus00
Member Avatar for kaakka

So google: * PHP upload (you will learn how to rename there) * PHP delete file Not that difficult, but at least show some effort and try!

Member Avatar for mattster
-2
265
Member Avatar for mcdczzz

There is definitely a way to submit data to a file, and receive the result (true/false etc.) and then call a JS function to generate. There is definitely no need to use `header()` with this sort of thing. Take a look at this: http://stackoverflow.com/questions/21328135/cant-read-php-file-output-with-ajax You will have to give it …

Member Avatar for mattster
0
161
Member Avatar for chaitu11

You created another topic for that here: https://www.daniweb.com/web-development/php/threads/484814/dynamic-slideshow-problem

Member Avatar for diafol
0
176
Member Avatar for AConley
Member Avatar for diafol
0
194
Member Avatar for chaitu11

Maybe because there are more than 3 images in your database? Try `$sel = mysql_query("SELECT * FROM alumini LIMIT 3");` The LIMIT statment will only select 3 images.

Member Avatar for mattster
0
224
Member Avatar for shapna.patel.5

The # tag simply a way for people to search tweets/posts of a similar topic. So using #DaniWeb for instance makes it easier for people to find DaniWeb related content on social media.

Member Avatar for MasterChat
0
107
Member Avatar for batulanjanette

> How can i make it? I need a source code. Do you expect us to waste our time doing your research? **Put some effort in and do your own googling.**

Member Avatar for almostbob
-6
218
Member Avatar for t12425
Member Avatar for veedeoo
0
216
Member Avatar for sabariN123

> PHP software developer in Bangalore.I am new to the PHP language. Maybe you need to be at least moderately competent with a language before you become a software developer using it? [OSWASP](https://www.owasp.org/index.php/Main_Page) do a very good job at writing stuff about software security.

Member Avatar for rubberman
-3
250
Member Avatar for Moswap

What have you got in a `.htaccess` file? You could do this: RewriteEngine on RewriteCond $1 !\.(js|ico|gif|jpg|png|css|html|swf|mp3|wav|txt)$ RewriteRule ^(.*)$ index.php?p=$1 [L] It will apply the rewrite rule if the url doesn't have any of the above file extensions, so `yoursite.com/cell-phones` would go to `yoursite.com/index.php?p=cell-phones`. If you wanted additional parameters: `yoursite.com/cell-phones&brand=XYZ` …

Member Avatar for mattster
0
186
Member Avatar for bernard.collins.1088

Yes, you can style anything and everything from a CSS file, and much better to do that than place it in a `style=""` attribute. And WYSIWYG means: What You See Is What You Get. It's a visual editor that allows you to design a website by typing it like any …

Member Avatar for almostbob
0
293
Member Avatar for jephthah
Member Avatar for rmoloruntoba

Take a look at this: http://www.webdevdoor.com/javascript-ajax/dynamic-select-list-jquery-php/ It's a good idea to use AJAX in a situation like this to smoothen the browsing experiance, but at the same time being able to use a dynamic list.

Member Avatar for diafol
0
127
Member Avatar for joachimanderson

So let me get this streight: you have a popover, and it is showing what where the image should be? > And this is what the array looks like. Which array? You've not really told us where your problems are occuring, so we can't begin to work things out if …

Member Avatar for joachimanderson
0
129
Member Avatar for rad1964

Depends how much work you want to do, what skills you have and what you may want to do in the future. If you want to write it yourself (without another person to manage databases later on) you could use a PHP framework and write it all, but this takes …

Member Avatar for mattster
0
200
Member Avatar for delta_frost

> How ? By having dropdowns like: "Sort by <criteria> <asc/desc>" And then use jQuery/AJAX to re-order the results. How you go about doing that depends on your HTML.

Member Avatar for mattster
0
123
Member Avatar for ItsMe5247

@rubberman I think I could say that to just about every PHP post that gets asked. Those that aren't are normally using a framework and haave no choice aha.

Member Avatar for ItsMe5247
0
157
Member Avatar for MasterChat
Member Avatar for MasterChat
0
318
Member Avatar for Chem_1
Member Avatar for oriclon
0
132
Member Avatar for peeyush.budhia

What about using [unset()](http://php.net/manual/en/function.unset.php) and delete the session variables for one portal instead of the other?

Member Avatar for peeyush.budhia
0
229
Member Avatar for mennowijnen
Member Avatar for tommywilbert

> And if you are based in Alberta, how come I'm seeing Manila as your domicile from the user registration perspective? Ooooh he's being sussed by the happygeek

Member Avatar for mattster
0
27
Member Avatar for squigworm

http://www.w3schools.com/ are probably the best, and their certifications are well renouned. This will look really good if you have one or two of these under your belt. Good luck! *mattster*

Member Avatar for Mansoor Ahmed_1
1
617
Member Avatar for davy_yg

> style="backgound-color: white;" Use a CSS file instead, will save you a lot of work: tr:nth-child(even) {background: #CCC}

Member Avatar for mattster
0
227
Member Avatar for yeyo_1
Member Avatar for ilovephp798

Probably easier to use this: <input type="text" pattern="([01]?[0-9]|2[0-3]):[0-5][0-9]" name="timefrom"> http://jsfiddle.net/htm17q0y/ The user get's refused when they try to submit, http://www.w3schools.com/tags/att_input_pattern.asp

Member Avatar for oriclon
0
9K
Member Avatar for davy_yg
Member Avatar for Borzoi
0
320
Member Avatar for mattster

Hi All, I have noticed I've stopped recieving the DaniWeb Digest (without wanting to). Is there a way I can click to "opt-in" somewhere? I've seen the "Join mailing list" in edit profile, but this seems more for replying to posts etc. Thanks, *mattster*

Member Avatar for mattster
0
194
Member Avatar for coroneshotel2
Member Avatar for Reverend Jim
0
70
Member Avatar for keystoke

> can you tell me.. I have never seen a question so pathetic. Please at least br specific, give examples show what you've tried. **At least make an effort.**

Member Avatar for happygeek
-3
260
Member Avatar for Amrit Saini
Member Avatar for kaziraja
Member Avatar for ankit1122

You can pass HTML into PHP by submitting forms or using `$_GET` (ie. idx.php?var1=XYZ). You would then do something along the lines of: <table> <?php foreach(...) { echo "<tr><td>".$row['col_name']."</td></tr>"; } ?> </table> You need to tweak this snippet to work inline with your code.

Member Avatar for mattster
0
229
Member Avatar for chaitu11

I think it requires editing some PMA source files, are you able to do this on your server?

Member Avatar for mattster
0
131
Member Avatar for Ritesh_4

The above link will redirect you to http://all2psd.com/start/indd2psd Warning: He didnt state this but you need to enter your email address for the PSD to be sent to. There is no privacy policy on the site and nothing to prevent selling your address on/spam/ads etc. However it is possible to …

Member Avatar for mattster
0
429
Member Avatar for Ritesh_4

What about something like GitHub? or some cloud site? If you actually need to code to run online your only option would to have some sort of hosting. Even a basic (or [free](https://www.x10hosting.com/)) package will cover you.

Member Avatar for Ritesh_4
0
136
Member Avatar for amith_ami

Hope this helps :) RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ cms.php?cms_id=$1 [L,QSA]

Member Avatar for amith_ami
0
217
Member Avatar for Linda Schrier

> How can I advertise on the forum so I don't break the rules? Use your signature, or see [here](https://www.daniweb.com/home/advertising)

Member Avatar for happygeek
0
162
Member Avatar for vivosmith

Where you have positioned your code is fine, change line 8 to: <script src="http://ajaxsearch.partners.agoda.com/partners/SearchBox/Scripts/Agoda.SearchBoxV2.1.js" type="text/javascript"></script> Keep the SRC all on one line, because otherwise spaces will mess up the URL and you won't be able to load the library.

Member Avatar for vivosmith
0
313
Member Avatar for Jake.20

Duplicate of https://www.daniweb.com/web-development/php/threads/484516/laravel-undefined-variable-fname ?

Member Avatar for pritaeas
-1
1K
Member Avatar for toxicandy

You code looks okay, so check that you have `session_start();`'s on all pages and that `$row['uid']` value is actually being set. Sessions are needed to maintain security, thats for sure.

Member Avatar for toxicandy
0
197
Member Avatar for davy_yg

`@mail(..)`? `mail()` http://php.net/manual/en/function.mail.php

Member Avatar for mattster
0
256

The End.