Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP Problem

Featured Replies

Hello everyone

i have a little problem in PHP

i created a page, named Cmup.php for example

and i added a form in which the Action="Cmup.php"

i added few textboxes and few IFs

the IFs check if :

the text in the input is numeric, if it's not it displays and error message telling the person to enter a valid input

and other things.

 

 

Now if i used Cmup.php as action everything would work just fine

the only problem is, that i wanted to use another page for action, namely Cmup2.php

i did and it worked, however it didn't check for any of the 'if' conditions, it simply executed

 

I want it to work in this kind of way for exemple :

if the input entered in textbox1 : is not a numeric, it displays the message " invalid input " and stays on Cmup.php

if the input entered IS a numeric, it displays the results in Cmup2.php

 

i hope i was able to explain what i am trying to do ;)

thanks in advance

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.